Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 96.89 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 177.9 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6272/0.6272, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8.719 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01819/0.1504, allocations: 20.5 MB / 0.5768 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.1596, allocations: 6.226 MB / 0.5828 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.1613, allocations: 75.5 kB / 0.5829 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009869/0.1623, allocations: 461.2 kB / 0.5833 GB, free: 364 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2691/0.4314, allocations: 1.2 MB / 0.5845 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.4346, allocations: 0.9174 MB / 0.5854 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00659/0.4412, allocations: 3.243 MB / 0.5886 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.4531, allocations: 7.081 MB / 0.5955 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.4575, allocations: 1.748 MB / 0.5972 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.4623, allocations: 2.074 MB / 0.5992 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008936/0.4632, allocations: 248.2 kB / 0.5995 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002229/0.4655, allocations: 494.1 kB / 0.5999 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.4678, allocations: 1.931 MB / 0.6018 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.4694, allocations: 0.8448 MB / 0.6027 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00695/0.4763, allocations: 6.893 MB / 0.6094 GB, free: 11.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4764, allocations: 0 / 0.6094 GB, free: 11.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4764, allocations: 1.219 kB / 0.6094 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002293/0.4766, allocations: 0 / 0.6094 GB, free: 11.78 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008645/0.4853, allocations: 3.583 MB / 0.6129 GB, free: 9.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4853, allocations: 9.438 kB / 0.6129 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001659/0.487, allocations: 0.5688 MB / 0.6134 GB, free: 9.492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00838/0.4954, allocations: 1.796 MB / 0.6152 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.5019, allocations: 2.504 MB / 0.6176 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.5021, allocations: 281.9 kB / 0.6179 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.5034, allocations: 359.3 kB / 0.6183 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.5154, allocations: 7.429 MB / 0.6255 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.576e-05/0.5155, allocations: 17.92 kB / 0.6255 GB, free: 2.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004084/0.5159, allocations: 165.9 kB / 0.6257 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004446/0.5163, allocations: 483.3 kB / 0.6261 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00873/0.5251, allocations: 5.678 MB / 0.6317 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03624/0.5614, allocations: 31.68 MB / 0.6626 GB, free: 9.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.564, allocations: 2.09 MB / 0.6647 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.5642, allocations: 13.31 kB / 0.6647 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5642, allocations: 54.61 kB / 0.6647 GB, free: 7.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=146): time 3.065e-06/0.5642, allocations: 0 / 0.6647 GB, free: 7.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=251): time 0.3023/0.8665, allocations: 75.24 MB / 0.7382 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.8666, allocations: 77.41 kB / 0.7383 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.8688, allocations: 1.654 MB / 0.7399 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/0.8693, allocations: 69.64 kB / 0.74 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.8703, allocations: 1.75 MB / 0.7417 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007939/0.8711, allocations: 0.8471 MB / 0.7425 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.8713, allocations: 56 kB / 0.7426 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.8715, allocations: 407.2 kB / 0.743 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.875, allocations: 2.722 MB / 0.7456 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004411/0.8794, allocations: 3.312 MB / 0.7488 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/0.8844, allocations: 3.059 MB / 0.7518 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.8844, allocations: 8 kB / 0.7518 GB, free: 14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03188/0.9163, allocations: 14.63 MB / 0.7661 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.9163, allocations: 16.03 kB / 0.7661 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.9164, allocations: 20 kB / 0.7662 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02873/0.9451, allocations: 9.238 MB / 0.7752 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.9465, allocations: 303.5 kB / 0.7755 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07198/1.018, allocations: 49.59 MB / 0.8239 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/1.022, allocations: 227.7 kB / 0.8241 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/1.022, allocations: 96 kB / 0.8242 GB, free: 3.008 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(19,68.1%) 19,(19,54.6%) 19,(12,50.0%) 18,(12,50.0%) 18,(12,52.8%) 10,(12,53.5%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002864/1.025, allocations: 1.582 MB / 0.8257 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/1.025, allocations: 249 kB / 0.826 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2911/1.316, allocations: 14.71 MB / 0.8404 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.861e-05/1.316, allocations: 24.31 kB / 0.8404 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003454/1.317, allocations: 43.97 kB / 0.8404 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-05/1.317, allocations: 12.59 kB / 0.8404 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03744/1.354, allocations: 20.49 MB / 0.8604 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.354, allocations: 7.531 kB / 0.8604 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/1.355, allocations: 162.4 kB / 0.8606 GB, free: 209 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/1.379, allocations: 8.994 MB / 0.8694 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003847/1.38, allocations: 47.59 kB / 0.8694 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05653/1.436, allocations: 49.2 MB / 0.9175 GB, free: 155.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.436, allocations: 14.12 kB / 0.9175 GB, free: 155.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/1.461, allocations: 14.77 MB / 0.9319 GB, free: 140.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.463, allocations: 0.8531 MB / 0.9327 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/1.464, allocations: 55.98 kB / 0.9328 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/1.465, allocations: 211.2 kB / 0.933 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009279/1.466, allocations: 237.5 kB / 0.9332 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.467, allocations: 64 kB / 0.9333 GB, free: 139.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001193/1.468, allocations: 1.11 MB / 0.9344 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 0 / 0.9344 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003564/1.471, allocations: 1.613 MB / 0.936 GB, free: 136.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(12,53.5%) 10,(12,50.0%) 18,(19,64.8%) 19,(12,53.5%) 10,(12,50.0%) 18,(19,54.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02488/1.496, allocations: 17.11 MB / 0.9527 GB, free: 119.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01724/1.514, allocations: 10.33 MB / 0.9627 GB, free: 108.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.514, allocations: 0 / 0.9627 GB, free: 108.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01351/1.527, allocations: 7.151 MB / 0.9697 GB, free: 101.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.529, allocations: 484.7 kB / 0.9702 GB, free: 101.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04805/1.577, allocations: 47.44 MB / 1.017 GB, free: 52.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/1.58, allocations: 3.305 MB / 1.02 GB, free: 48.87 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008046/1.58, allocations: 383.4 kB / 1.02 GB, free: 48.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.582, allocations: 1.483 MB / 1.022 GB, free: 47.01 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/1.582, allocations: 0 / 1.022 GB, free: 47.01 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.695/7.276, allocations: 112.3 MB / 1.131 GB, free: 175 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/7.276, allocations: 224.7 kB / 1.131 GB, free: 174.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/10.07, allocations: 0 / 1.131 GB, free: 174.8 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: