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.001092/0.001092, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.00108/0.00108, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.203/1.203, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6434/0.6434, allocations: 115.3 MB / 406.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 493.2 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2579, allocations: 76.17 MB / 0.556 GB, free: 36.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009262/0.2672, allocations: 11.02 MB / 0.5668 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006512/0.2737, allocations: 5.764 MB / 0.5724 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009338/0.2747, allocations: 46.06 kB / 0.5725 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003204/0.2779, allocations: 1.621 MB / 0.5741 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.2803, allocations: 1.052 MB / 0.5751 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.282, allocations: 0.7425 MB / 0.5758 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.2841, allocations: 2.128 MB / 0.5779 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.2856, allocations: 1.495 MB / 0.5794 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.2864, allocations: 0.8511 MB / 0.5802 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.2872, allocations: 0.9462 MB / 0.5811 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.2874, allocations: 117.4 kB / 0.5812 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.289, allocations: 1.174 MB / 0.5824 GB, free: 20.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.2894, allocations: 0.5313 MB / 0.5829 GB, free: 20.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2899, allocations: 0.786 MB / 0.5837 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.292, allocations: 2.489 MB / 0.5861 GB, free: 18.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.292, allocations: 1.375 kB / 0.5861 GB, free: 18.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.292, allocations: 0 / 0.5861 GB, free: 18.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.292, allocations: 0 / 0.5861 GB, free: 18.59 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002/0.294, allocations: 1.864 MB / 0.5879 GB, free: 17.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.294, allocations: 14.02 kB / 0.5879 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.2942, allocations: 213.2 kB / 0.5881 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.298, allocations: 0.6675 MB / 0.5888 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.299, allocations: 0.9084 MB / 0.5897 GB, free: 16.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.299, allocations: 97.88 kB / 0.5898 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.2992, allocations: 126.1 kB / 0.5899 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.3015, allocations: 2.214 MB / 0.592 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/0.3015, allocations: 8.656 kB / 0.592 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.3016, allocations: 66.16 kB / 0.5921 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.3018, allocations: 165 kB / 0.5923 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.304, allocations: 1.868 MB / 0.5941 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006666/0.3107, allocations: 12.46 MB / 0.6063 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.3144, allocations: 1.984 MB / 0.6082 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/0.3151, allocations: 0.605 MB / 0.6088 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3153, allocations: 102.1 kB / 0.6089 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3153, allocations: 51.48 kB / 0.6089 GB, free: 13.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 1.903e-06/0.3153, allocations: 3.938 kB / 0.6089 GB, free: 13.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.004951/0.3203, allocations: 3.698 MB / 0.6126 GB, free: 9.211 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3203, allocations: 64.41 kB / 0.6126 GB, free: 9.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.3212, allocations: 0.9242 MB / 0.6135 GB, free: 8.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.3213, allocations: 45.7 kB / 0.6136 GB, free: 8.145 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.3217, allocations: 0.7276 MB / 0.6143 GB, free: 7.406 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.322, allocations: 382.6 kB / 0.6146 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/0.3223, allocations: 287.2 kB / 0.6149 GB, free: 6.738 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.3224, allocations: 301.1 kB / 0.6152 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.3232, allocations: 0.6129 MB / 0.6158 GB, free: 5.828 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3243, allocations: 1.106 MB / 0.6169 GB, free: 4.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.3262, allocations: 1.832 MB / 0.6187 GB, free: 2.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.3262, allocations: 4 kB / 0.6187 GB, free: 2.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002852/0.3291, allocations: 2.096 MB / 0.6207 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3291, allocations: 13.56 kB / 0.6207 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.3291, allocations: 16 kB / 0.6207 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006927/0.3298, allocations: 271.3 kB / 0.621 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.3309, allocations: 371.5 kB / 0.6214 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.3383, allocations: 11.6 MB / 0.6327 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.3391, allocations: 123.8 kB / 0.6328 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.445e-05/0.3392, allocations: 71.98 kB / 0.6329 GB, free: 2.727 MB / 478.1 MB 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.0004498/0.3397, allocations: 405.1 kB / 0.6333 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3398, allocations: 134.4 kB / 0.6334 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.3422, allocations: 1.688 MB / 0.635 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.3423, allocations: 8 kB / 0.635 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3423, allocations: 4 kB / 0.635 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3423, allocations: 7.969 kB / 0.6351 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.3465, allocations: 3.284 MB / 0.6383 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3465, allocations: 4.094 kB / 0.6383 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000729/0.3472, allocations: 227.6 kB / 0.6385 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006051/0.3478, allocations: 242.6 kB / 0.6387 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/0.3479, allocations: 31.94 kB / 0.6387 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007137/0.355, allocations: 11.57 MB / 0.65 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.383e-06/0.3551, allocations: 11.94 kB / 0.65 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3572, allocations: 1.792 MB / 0.6518 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.3576, allocations: 311.3 kB / 0.6521 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.3578, allocations: 24 kB / 0.6521 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.3584, allocations: 99.86 kB / 0.6522 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.3585, allocations: 92.7 kB / 0.6523 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.3586, allocations: 36 kB / 0.6523 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006182/0.3592, allocations: 0.6177 MB / 0.6529 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3592, allocations: 0 / 0.6529 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001038/0.3603, allocations: 399.9 kB / 0.6533 GB, free: 12.32 MB / 0.4981 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.002487/0.3628, allocations: 2.385 MB / 0.6556 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.3663, allocations: 2.867 MB / 0.6584 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3663, allocations: 4.875 kB / 0.6585 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.3681, allocations: 1.633 MB / 0.66 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.3695, allocations: 351.5 kB / 0.6604 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.3835, allocations: 12.63 MB / 0.6727 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.3843, allocations: 1.323 MB / 0.674 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008758/0.3852, allocations: 355.3 kB / 0.6743 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.3858, allocations: 0.5344 MB / 0.6749 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3858, allocations: 4 kB / 0.6749 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.728/3.114, allocations: 27.83 MB / 0.7021 GB, free: 9.543 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/3.114, allocations: 241 kB / 0.7023 GB, free: 9.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/6.631, allocations: 0 / 0.7023 GB, free: 9.289 MB / 0.545 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)