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.001067/0.001067, allocations: 102.3 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.001093/0.001093, allocations: 195.9 kB / 17.34 MB, free: 5.738 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7026/0.7026, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 58.62 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1422, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01349/0.1557, allocations: 11.07 MB / 0.6424 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009493/0.1652, allocations: 5.797 MB / 0.6481 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.1666, allocations: 51.69 kB / 0.6481 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004533/0.1712, allocations: 1.726 MB / 0.6498 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.1743, allocations: 1.139 MB / 0.6509 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.1765, allocations: 0.8102 MB / 0.6517 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.1794, allocations: 2.131 MB / 0.6538 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.1813, allocations: 1.309 MB / 0.6551 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1829, allocations: 0.8523 MB / 0.6559 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.1845, allocations: 0.9143 MB / 0.6568 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.1849, allocations: 116 kB / 0.6569 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.1873, allocations: 1.177 MB / 0.658 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007101/0.188, allocations: 0.5259 MB / 0.6586 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.1894, allocations: 0.7849 MB / 0.6593 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003693/0.1931, allocations: 2.426 MB / 0.6617 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1931, allocations: 4 kB / 0.6617 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1931, allocations: 0 / 0.6617 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.669e-05/0.1932, allocations: 0 / 0.6617 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.003958/0.1972, allocations: 1.879 MB / 0.6635 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1972, allocations: 8.031 kB / 0.6635 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003862/0.1976, allocations: 211.4 kB / 0.6637 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/0.2022, allocations: 0.6621 MB / 0.6644 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.2043, allocations: 1.008 MB / 0.6654 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.473e-05/0.2044, allocations: 98.89 kB / 0.6655 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.2048, allocations: 124.3 kB / 0.6656 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.2083, allocations: 2.206 MB / 0.6677 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.2084, allocations: 11.88 kB / 0.6678 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.2086, allocations: 63.97 kB / 0.6678 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002105/0.2088, allocations: 162.3 kB / 0.668 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.2118, allocations: 1.867 MB / 0.6698 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.2234, allocations: 12.44 MB / 0.6819 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.2275, allocations: 1.967 MB / 0.6839 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.2283, allocations: 0.6011 MB / 0.6845 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.2285, allocations: 110.1 kB / 0.6846 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2285, allocations: 47.5 kB / 0.6846 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.036e-06/0.2285, allocations: 0 / 0.6846 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005829/0.2344, allocations: 3.706 MB / 0.6882 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2344, allocations: 60.41 kB / 0.6883 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.2355, allocations: 0.9281 MB / 0.6892 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.2356, allocations: 41.7 kB / 0.6892 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.2361, allocations: 0.7314 MB / 0.6899 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.2364, allocations: 382.6 kB / 0.6903 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/0.2368, allocations: 287.2 kB / 0.6906 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.2369, allocations: 305.1 kB / 0.6909 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.2378, allocations: 0.6129 MB / 0.6915 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.239, allocations: 1.106 MB / 0.6926 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.2412, allocations: 1.832 MB / 0.6943 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.2412, allocations: 11.88 kB / 0.6944 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003189/0.2444, allocations: 2.096 MB / 0.6964 GB, free: 384 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2445, allocations: 17.56 kB / 0.6964 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.2445, allocations: 12 kB / 0.6964 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007996/0.2453, allocations: 262.6 kB / 0.6967 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.2466, allocations: 367.4 kB / 0.697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008084/0.2547, allocations: 11.59 MB / 0.7083 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.2558, allocations: 127.8 kB / 0.7085 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.2559, allocations: 71.98 kB / 0.7085 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.0005972/0.2565, allocations: 405.2 kB / 0.7089 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.2567, allocations: 142.4 kB / 0.7091 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.2594, allocations: 1.669 MB / 0.7107 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.2594, allocations: 12 kB / 0.7107 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.2594, allocations: 4 kB / 0.7107 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.2594, allocations: 7.984 kB / 0.7107 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.2646, allocations: 3.291 MB / 0.7139 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.2646, allocations: 8 kB / 0.7139 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000838/0.2654, allocations: 220.3 kB / 0.7141 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/0.2661, allocations: 242.6 kB / 0.7144 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.2662, allocations: 31.94 kB / 0.7144 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007967/0.2742, allocations: 11.55 MB / 0.7257 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.2742, allocations: 11.94 kB / 0.7257 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.2767, allocations: 1.803 MB / 0.7275 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.2774, allocations: 311.3 kB / 0.7278 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.2776, allocations: 28 kB / 0.7278 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/0.2784, allocations: 83.88 kB / 0.7279 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.2786, allocations: 108.6 kB / 0.728 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.2787, allocations: 35.98 kB / 0.728 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007794/0.2795, allocations: 0.6177 MB / 0.7286 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2795, allocations: 0 / 0.7286 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001584/0.2811, allocations: 396 kB / 0.729 GB, free: 12.38 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.002849/0.2839, allocations: 2.382 MB / 0.7313 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.2874, allocations: 2.501 MB / 0.7337 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.2874, allocations: 4 kB / 0.7337 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/0.2895, allocations: 1.625 MB / 0.7353 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.2912, allocations: 355.8 kB / 0.7357 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.3072, allocations: 11.48 MB / 0.7469 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3083, allocations: 1.335 MB / 0.7482 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009497/0.3093, allocations: 359.3 kB / 0.7485 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.31, allocations: 0.5344 MB / 0.7491 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.31, allocations: 0 / 0.7491 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.392/0.702, allocations: 28.73 MB / 0.7771 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.79, allocations: 3.375 kB / 0.7771 GB, free: 113.5 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)