Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001144/0.001144, allocations: 106 kB / 16.4 MB, free: 6.504 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.001127/0.001127, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.196/1.196, 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.6396/0.6396, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001083, allocations: 61.44 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1123, allocations: 76.19 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01149/0.1238, allocations: 11.07 MB / 0.6424 GB, free: 9.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.1323, allocations: 5.797 MB / 0.6481 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.1331, allocations: 47.69 kB / 0.6481 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.137, allocations: 1.738 MB / 0.6498 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.14, allocations: 1.174 MB / 0.651 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.142, allocations: 0.8057 MB / 0.6517 GB, free: 240 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.1441, allocations: 2.135 MB / 0.6538 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.1454, allocations: 1.309 MB / 0.6551 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00084/0.1463, allocations: 0.8523 MB / 0.6559 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.1472, allocations: 0.9143 MB / 0.6568 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.1473, allocations: 112 kB / 0.6569 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.149, allocations: 1.177 MB / 0.6581 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.1494, allocations: 0.5259 MB / 0.6586 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006609/0.1501, allocations: 0.7926 MB / 0.6594 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1522, allocations: 2.423 MB / 0.6617 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1522, allocations: 4 kB / 0.6617 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.1522, allocations: 0 / 0.6617 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.1523, allocations: 3.938 kB / 0.6618 GB, free: 5.938 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002366/0.1546, allocations: 1.875 MB / 0.6636 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1547, allocations: 8.031 kB / 0.6636 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.1549, allocations: 211.4 kB / 0.6638 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003931/0.1588, allocations: 0.666 MB / 0.6644 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.1602, allocations: 1.004 MB / 0.6654 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.1603, allocations: 94.89 kB / 0.6655 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.1605, allocations: 128.3 kB / 0.6656 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.1631, allocations: 2.206 MB / 0.6678 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.1631, allocations: 11.88 kB / 0.6678 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1633, allocations: 63.95 kB / 0.6679 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.1634, allocations: 162.3 kB / 0.668 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.1659, allocations: 1.871 MB / 0.6698 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.1764, allocations: 12.44 MB / 0.682 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/0.1804, allocations: 1.968 MB / 0.6839 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.1811, allocations: 0.6049 MB / 0.6845 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.1813, allocations: 102.1 kB / 0.6846 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1813, allocations: 51.5 kB / 0.6847 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.975e-06/0.1814, allocations: 0 / 0.6847 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005388/0.1868, allocations: 3.702 MB / 0.6883 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1868, allocations: 64.41 kB / 0.6883 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/0.1878, allocations: 0.9281 MB / 0.6892 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.1878, allocations: 37.7 kB / 0.6893 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.1882, allocations: 0.7315 MB / 0.69 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.1885, allocations: 378.6 kB / 0.6903 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/0.1889, allocations: 291.2 kB / 0.6906 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.117e-05/0.189, allocations: 301.1 kB / 0.6909 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/0.1898, allocations: 0.6129 MB / 0.6915 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.1909, allocations: 1.106 MB / 0.6926 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.1929, allocations: 1.832 MB / 0.6944 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.193, allocations: 4 kB / 0.6944 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002974/0.1959, allocations: 2.1 MB / 0.6964 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.196, allocations: 16.06 kB / 0.6965 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.196, allocations: 16 kB / 0.6965 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.1967, allocations: 258.6 kB / 0.6967 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.1979, allocations: 375.4 kB / 0.6971 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007691/0.2056, allocations: 11.59 MB / 0.7084 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.2066, allocations: 135.7 kB / 0.7085 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.2067, allocations: 64 kB / 0.7086 GB, free: 2.797 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0006002/0.2074, allocations: 413.2 kB / 0.709 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.2075, allocations: 126.5 kB / 0.7091 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/0.2103, allocations: 1.677 MB / 0.7107 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.2103, allocations: 12 kB / 0.7107 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2103, allocations: 4 kB / 0.7108 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.2104, allocations: 7.969 kB / 0.7108 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004531/0.2149, allocations: 3.283 MB / 0.714 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.2149, allocations: 4 kB / 0.714 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.2157, allocations: 219.6 kB / 0.7142 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/0.2164, allocations: 247.3 kB / 0.7144 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.2164, allocations: 27.94 kB / 0.7144 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008143/0.2246, allocations: 11.56 MB / 0.7257 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.2246, allocations: 11.94 kB / 0.7257 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.2272, allocations: 1.8 MB / 0.7275 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.2277, allocations: 315.3 kB / 0.7278 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.2278, allocations: 27.98 kB / 0.7278 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.2284, allocations: 87.88 kB / 0.7279 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.2286, allocations: 104.6 kB / 0.728 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.2287, allocations: 36 kB / 0.728 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007095/0.2294, allocations: 0.6177 MB / 0.7286 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2294, allocations: 0 / 0.7286 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001272/0.2307, allocations: 392 kB / 0.729 GB, free: 12.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0026/0.2333, allocations: 2.386 MB / 0.7313 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003132/0.2364, allocations: 2.493 MB / 0.7338 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2365, allocations: 0 / 0.7338 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.2383, allocations: 1.633 MB / 0.7354 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.2397, allocations: 367.5 kB / 0.7357 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.2534, allocations: 11.48 MB / 0.7469 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/0.2543, allocations: 1.335 MB / 0.7482 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008695/0.2552, allocations: 359.3 kB / 0.7486 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/0.2558, allocations: 0.5344 MB / 0.7491 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of SimCode: time 7.12e-07/0.2558, allocations: 0 / 0.7491 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/0.5596, allocations: 28.27 MB / 0.7767 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.92, allocations: 4.516 kB / 0.7767 GB, free: 115.1 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)