Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001114/0.001114, allocations: 103.1 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6948/0.6948, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 61.06 kB / 0.5572 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1237, allocations: 76.19 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005957/0.1297, allocations: 4.865 MB / 0.6363 GB, free: 60 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1336, allocations: 2.491 MB / 0.6388 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.1341, allocations: 23.81 kB / 0.6388 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.1353, allocations: 397.9 kB / 0.6392 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1363, allocations: 453.6 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.1372, allocations: 402.2 kB / 0.64 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1383, allocations: 0.9251 MB / 0.6409 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.1388, allocations: 365.3 kB / 0.6412 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.1393, allocations: 338.7 kB / 0.6416 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/0.1398, allocations: 358.4 kB / 0.6419 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.822e-05/0.1399, allocations: 36 kB / 0.6419 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006242/0.1405, allocations: 403.1 kB / 0.6423 GB, free: 9.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.1407, allocations: 179.4 kB / 0.6425 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.141, allocations: 318.2 kB / 0.6428 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.142, allocations: 0.8885 MB / 0.6437 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.142, allocations: 0 / 0.6437 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.142, allocations: 0 / 0.6437 GB, free: 8.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.142, allocations: 0 / 0.6437 GB, free: 8.527 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001378/0.1434, allocations: 0.954 MB / 0.6446 GB, free: 7.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1434, allocations: 12.03 kB / 0.6446 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.1435, allocations: 90.69 kB / 0.6447 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.1448, allocations: 203.9 kB / 0.6449 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008114/0.1456, allocations: 0.5528 MB / 0.6454 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.1457, allocations: 33.38 kB / 0.6455 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.1457, allocations: 44.36 kB / 0.6455 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.1467, allocations: 0.8446 MB / 0.6463 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.1467, allocations: 15.83 kB / 0.6463 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.1468, allocations: 23.98 kB / 0.6464 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/0.1469, allocations: 64.95 kB / 0.6464 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.1476, allocations: 0.5695 MB / 0.647 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.1515, allocations: 5.643 MB / 0.6525 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.1521, allocations: 450.8 kB / 0.6529 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1524, allocations: 228.7 kB / 0.6531 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1524, allocations: 4 kB / 0.6532 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1524, allocations: 38.5 kB / 0.6532 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1524, allocations: 0 / 0.6532 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002326/0.1548, allocations: 1.505 MB / 0.6547 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1548, allocations: 59.62 kB / 0.6547 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.1553, allocations: 0.4991 MB / 0.6552 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1553, allocations: 33.7 kB / 0.6552 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1556, allocations: 362.7 kB / 0.6556 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.1557, allocations: 118.3 kB / 0.6557 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1558, allocations: 110.2 kB / 0.6558 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.156, allocations: 366.8 kB / 0.6561 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1562, allocations: 197.2 kB / 0.6563 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.1566, allocations: 447.3 kB / 0.6568 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.1573, allocations: 0.6874 MB / 0.6574 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1574, allocations: 0 / 0.6574 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001146/0.1585, allocations: 0.8133 MB / 0.6582 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1585, allocations: 8 kB / 0.6582 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.1586, allocations: 8 kB / 0.6582 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.159, allocations: 156.7 kB / 0.6584 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1595, allocations: 123.7 kB / 0.6585 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003135/0.1626, allocations: 4.347 MB / 0.6628 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.163, allocations: 35.97 kB / 0.6628 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.1631, allocations: 28 kB / 0.6628 GB, free: 3.414 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.1634, allocations: 214.7 kB / 0.663 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1635, allocations: 67.17 kB / 0.6631 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.1646, allocations: 0.6009 MB / 0.6637 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1646, allocations: 8 kB / 0.6637 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1646, allocations: 0 / 0.6637 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1646, allocations: 0 / 0.6637 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.1666, allocations: 1.267 MB / 0.6649 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1666, allocations: 4 kB / 0.6649 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.1669, allocations: 59.89 kB / 0.665 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.1673, allocations: 144.3 kB / 0.6651 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1674, allocations: 15.94 kB / 0.6651 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003176/0.1706, allocations: 4.325 MB / 0.6694 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1706, allocations: 4.031 kB / 0.6694 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.1717, allocations: 0.712 MB / 0.6701 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.172, allocations: 168.3 kB / 0.6702 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.1721, allocations: 8 kB / 0.6702 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1724, allocations: 23.97 kB / 0.6702 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.1725, allocations: 35.83 kB / 0.6703 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1725, allocations: 12 kB / 0.6703 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003717/0.1729, allocations: 338.8 kB / 0.6706 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.6e-07/0.1729, allocations: 0 / 0.6706 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006822/0.1736, allocations: 144 kB / 0.6708 GB, free: 10.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/0.1748, allocations: 1.253 MB / 0.672 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.1763, allocations: 1.052 MB / 0.673 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1763, allocations: 3.938 kB / 0.673 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.1771, allocations: 0.7276 MB / 0.6737 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1782, allocations: 205.6 kB / 0.6739 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.184, allocations: 5.145 MB / 0.6789 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.1844, allocations: 0.9098 MB / 0.6798 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003023/0.1847, allocations: 117.2 kB / 0.6799 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.1849, allocations: 191.4 kB / 0.6801 GB, free: 436 kB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1849, allocations: 4 kB / 0.6801 GB, free: 432 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.2247, allocations: 13.07 MB / 0.6929 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.992/10.22, allocations: 14.22 kB / 0.6929 GB, free: 3.598 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)