Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.000825/0.0008248, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008232/0.0008231, allocations: 181.5 kB / 16.59 MB, free: 6.504 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.253/1.253, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6234/0.6234, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8.875 kB / 493.2 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.2833/0.4381, allocations: 27.96 MB / 0.5842 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.4555, allocations: 12.75 MB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.4584, allocations: 123.8 kB / 0.5968 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.461, allocations: 0.6297 MB / 0.5974 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.4687, allocations: 2.208 MB / 0.5996 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.4734, allocations: 1.196 MB / 0.6007 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.4857, allocations: 8.402 MB / 0.6089 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/0.5009, allocations: 8.546 MB / 0.6173 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.5065, allocations: 2.564 MB / 0.6198 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.5114, allocations: 2.85 MB / 0.6226 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.5126, allocations: 243.1 kB / 0.6228 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.516, allocations: 0.699 MB / 0.6235 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.5188, allocations: 1.905 MB / 0.6253 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.5209, allocations: 0.973 MB / 0.6263 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008309/0.5292, allocations: 7.734 MB / 0.6338 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.5293, allocations: 0 / 0.6338 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5293, allocations: 3.938 kB / 0.6338 GB, free: 12.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000284/0.5296, allocations: 0 / 0.6338 GB, free: 12.18 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009641/0.5392, allocations: 4.211 MB / 0.638 GB, free: 7.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5393, allocations: 12.03 kB / 0.638 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001944/0.5412, allocations: 0.6154 MB / 0.6386 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.5474, allocations: 1.003 MB / 0.6395 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.5534, allocations: 2.808 MB / 0.6423 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.5537, allocations: 316.8 kB / 0.6426 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.555, allocations: 416.1 kB / 0.643 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.5679, allocations: 6.762 MB / 0.6496 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.568, allocations: 15.88 kB / 0.6496 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004076/0.5684, allocations: 191.9 kB / 0.6498 GB, free: 11.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007175/0.5691, allocations: 368 kB / 0.6501 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008351/0.5775, allocations: 5.083 MB / 0.6551 GB, free: 6.027 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0327/0.6102, allocations: 30.78 MB / 0.6852 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.6122, allocations: 1.387 MB / 0.6865 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.6137, allocations: 1.324 MB / 0.6878 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.6138, allocations: 13.31 kB / 0.6878 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.6139, allocations: 51.88 kB / 0.6879 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 2.935e-06/0.6139, allocations: 0 / 0.6879 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=199): time 0.07234/0.6862, allocations: 22.78 MB / 0.7101 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.6863, allocations: 73.41 kB / 0.7102 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/0.6894, allocations: 2.047 MB / 0.7122 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.6896, allocations: 61.64 kB / 0.7122 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.691, allocations: 2.006 MB / 0.7142 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006712/0.6917, allocations: 0.6816 MB / 0.7149 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.6919, allocations: 52 kB / 0.7149 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6921, allocations: 394.6 kB / 0.7153 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.6942, allocations: 1.418 MB / 0.7167 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.6967, allocations: 2.006 MB / 0.7186 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.6991, allocations: 1.72 MB / 0.7203 GB, free: 28 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.6991, allocations: 11.95 kB / 0.7203 GB, free: 16 kB / 0.5294 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01006/0.7092, allocations: 5.641 MB / 0.7258 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.7092, allocations: 12.97 kB / 0.7259 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.7093, allocations: 16 kB / 0.7259 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00594/0.7152, allocations: 2.079 MB / 0.7279 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.7167, allocations: 379.4 kB / 0.7283 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03452/0.7513, allocations: 35.49 MB / 0.7629 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.7534, allocations: 127.9 kB / 0.763 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.7536, allocations: 88 kB / 0.7631 GB, free: 1.668 MB / 0.5762 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002485/0.7561, allocations: 1.508 MB / 0.7646 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/0.7566, allocations: 284.9 kB / 0.7649 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009285/0.7659, allocations: 5.2 MB / 0.7699 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.766, allocations: 20 kB / 0.77 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/0.766, allocations: 20 kB / 0.77 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.766, allocations: 11.95 kB / 0.77 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/0.7825, allocations: 9.658 MB / 0.7794 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7826, allocations: 11.98 kB / 0.7794 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.7833, allocations: 219.6 kB / 0.7796 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004983/0.7883, allocations: 1.83 MB / 0.7814 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.7885, allocations: 51.94 kB / 0.7815 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03272/0.8212, allocations: 34.5 MB / 0.8152 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8213, allocations: 8 kB / 0.8152 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008298/0.8296, allocations: 4.899 MB / 0.82 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/0.831, allocations: 0.6225 MB / 0.8206 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.8314, allocations: 40.14 kB / 0.8206 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.8325, allocations: 135.8 kB / 0.8207 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00058/0.8331, allocations: 189.6 kB / 0.8209 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.8332, allocations: 56 kB / 0.821 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001894/0.8351, allocations: 1.359 MB / 0.8223 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8351, allocations: 0 / 0.8223 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003323/0.8385, allocations: 1.043 MB / 0.8233 GB, free: 1.074 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2766/1.115, allocations: 5.509 MB / 0.8287 GB, free: 204 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008934/1.124, allocations: 6.259 MB / 0.8348 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.124, allocations: 2.172 kB / 0.8348 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005913/1.13, allocations: 4.4 MB / 0.8391 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/1.134, allocations: 0.9154 MB / 0.84 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/1.175, allocations: 25.38 MB / 0.8648 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.178, allocations: 3.122 MB / 0.8678 GB, free: 184.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001837/1.18, allocations: 0.5165 MB / 0.8683 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.181, allocations: 1.673 MB / 0.87 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of SimCode: time 1.223e-06/1.181, allocations: 0 / 0.87 GB, free: 182.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/1.285, allocations: 85.61 MB / 0.9536 GB, free: 107.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/1.285, allocations: 224 kB / 0.9538 GB, free: 107.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/4.68, allocations: 3.938 kB / 0.9538 GB, free: 107.7 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: