Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_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.00145/0.00145, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001688/0.001688, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 286.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 86.89 kB / 0.5948 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1483, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01186/0.1602, allocations: 11.04 MB / 0.6905 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008956/0.1692, allocations: 5.753 MB / 0.6961 GB, free: 140 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1706, allocations: 55.62 kB / 0.6962 GB, free: 84 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004262/0.1749, allocations: 1.626 MB / 0.6978 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.1779, allocations: 1.054 MB / 0.6988 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1801, allocations: 0.7401 MB / 0.6995 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.1827, allocations: 2.131 MB / 0.7016 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.1849, allocations: 1.497 MB / 0.7031 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.1863, allocations: 0.8522 MB / 0.7039 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.1878, allocations: 0.9417 MB / 0.7048 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.1881, allocations: 119.9 kB / 0.7049 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.1904, allocations: 1.173 MB / 0.7061 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006783/0.1911, allocations: 0.5142 MB / 0.7066 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.1922, allocations: 0.7927 MB / 0.7074 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.1951, allocations: 2.484 MB / 0.7098 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1951, allocations: 0 / 0.7098 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.1951, allocations: 4 kB / 0.7098 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.1952, allocations: 3.938 kB / 0.7098 GB, free: 2.094 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.002526/0.1977, allocations: 1.867 MB / 0.7116 GB, free: 172 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1977, allocations: 8.031 kB / 0.7116 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.198, allocations: 211.5 kB / 0.7118 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004351/0.2023, allocations: 0.6699 MB / 0.7125 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.2036, allocations: 0.9107 MB / 0.7134 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-05/0.2037, allocations: 98.89 kB / 0.7135 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.2039, allocations: 132.2 kB / 0.7136 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.2067, allocations: 2.206 MB / 0.7157 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.2067, allocations: 11.88 kB / 0.7158 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.2068, allocations: 59.97 kB / 0.7158 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001819/0.207, allocations: 166.3 kB / 0.716 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.2096, allocations: 1.871 MB / 0.7178 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.2202, allocations: 12.48 MB / 0.73 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/0.2244, allocations: 1.97 MB / 0.7319 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.2252, allocations: 0.605 MB / 0.7325 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.2254, allocations: 106.1 kB / 0.7326 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2254, allocations: 51.48 kB / 0.7326 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.516e-06/0.2255, allocations: 0 / 0.7326 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005824/0.2313, allocations: 3.698 MB / 0.7363 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.2313, allocations: 64.41 kB / 0.7363 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.2325, allocations: 0.9203 MB / 0.7372 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-05/0.2326, allocations: 45.64 kB / 0.7373 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.2331, allocations: 0.7276 MB / 0.738 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.2334, allocations: 390.5 kB / 0.7383 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.2338, allocations: 287.2 kB / 0.7386 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.2339, allocations: 301.1 kB / 0.7389 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.2347, allocations: 0.6129 MB / 0.7395 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.236, allocations: 1.106 MB / 0.7406 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002033/0.238, allocations: 1.835 MB / 0.7424 GB, free: 14.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.238, allocations: 4 kB / 0.7424 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00298/0.241, allocations: 2.108 MB / 0.7444 GB, free: 12.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2411, allocations: 12 kB / 0.7445 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.2411, allocations: 16 kB / 0.7445 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007639/0.2419, allocations: 258.8 kB / 0.7447 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.243, allocations: 379.4 kB / 0.7451 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.2506, allocations: 11.59 MB / 0.7564 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.2519, allocations: 123.8 kB / 0.7565 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.252, allocations: 71.98 kB / 0.7566 GB, free: 15.01 MB / 0.5606 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.0006244/0.2527, allocations: 413.7 kB / 0.757 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.2528, allocations: 126.5 kB / 0.7571 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.2554, allocations: 1.677 MB / 0.7587 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.2555, allocations: 12 kB / 0.7587 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2555, allocations: 4 kB / 0.7587 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.2555, allocations: 11.97 kB / 0.7588 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/0.26, allocations: 3.291 MB / 0.762 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.26, allocations: 4 kB / 0.762 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.2608, allocations: 219.6 kB / 0.7622 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/0.2615, allocations: 251.3 kB / 0.7624 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.2616, allocations: 27.94 kB / 0.7625 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3194/0.581, allocations: 11.56 MB / 0.7737 GB, free: 84.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.581, allocations: 6.031 kB / 0.7737 GB, free: 84.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.5838, allocations: 1.801 MB / 0.7755 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.5842, allocations: 309.4 kB / 0.7758 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5844, allocations: 37.3 kB / 0.7758 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/0.5851, allocations: 89.95 kB / 0.7759 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.5853, allocations: 93.44 kB / 0.776 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.5854, allocations: 34.5 kB / 0.776 GB, free: 84.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007984/0.5862, allocations: 0.6182 MB / 0.7766 GB, free: 83.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5862, allocations: 0.6875 kB / 0.7766 GB, free: 83.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001348/0.5875, allocations: 392 kB / 0.777 GB, free: 83.99 MB / 0.5606 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.5902, allocations: 2.384 MB / 0.7793 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003787/0.594, allocations: 2.881 MB / 0.7822 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.594, allocations: 3.719 kB / 0.7822 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.5956, allocations: 1.627 MB / 0.7838 GB, free: 80.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5971, allocations: 362.5 kB / 0.7841 GB, free: 80.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.6115, allocations: 12.59 MB / 0.7964 GB, free: 72.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/0.6126, allocations: 1.338 MB / 0.7977 GB, free: 71.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001245/0.6138, allocations: 359.5 kB / 0.798 GB, free: 71.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.6145, allocations: 0.5346 MB / 0.7986 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/0.6145, allocations: 0 / 0.7986 GB, free: 71.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06692/0.6814, allocations: 27.88 MB / 0.8258 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.6816, allocations: 261.6 kB / 0.826 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.969, allocations: 2.031 kB / 0.826 GB, free: 55.3 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)