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.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 195 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 278.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9712/0.9712, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 103.6 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1372, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01384/0.151, allocations: 11.08 MB / 0.6911 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009189/0.1603, allocations: 5.781 MB / 0.6968 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.1614, allocations: 51.62 kB / 0.6968 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.1657, allocations: 1.725 MB / 0.6985 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.1686, allocations: 1.151 MB / 0.6996 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1707, allocations: 0.8135 MB / 0.7004 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1732, allocations: 2.115 MB / 0.7025 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.1749, allocations: 1.326 MB / 0.7038 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.1761, allocations: 0.8407 MB / 0.7046 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.1775, allocations: 0.8949 MB / 0.7055 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.1778, allocations: 115.9 kB / 0.7056 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.18, allocations: 1.185 MB / 0.7067 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.1806, allocations: 0.5298 MB / 0.7073 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008437/0.1814, allocations: 0.781 MB / 0.708 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.184, allocations: 2.395 MB / 0.7104 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1841, allocations: 0 / 0.7104 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1841, allocations: 0 / 0.7104 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.1841, allocations: 0 / 0.7104 GB, free: 1.723 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.002679/0.1868, allocations: 1.865 MB / 0.7122 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1868, allocations: 8.031 kB / 0.7122 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.1871, allocations: 215.4 kB / 0.7124 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.1917, allocations: 0.666 MB / 0.713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.1932, allocations: 0.9146 MB / 0.7139 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.1933, allocations: 94.89 kB / 0.714 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1935, allocations: 128.2 kB / 0.7141 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.1965, allocations: 2.214 MB / 0.7163 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.1966, allocations: 11.88 kB / 0.7163 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.1967, allocations: 59.98 kB / 0.7164 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/0.1969, allocations: 158.3 kB / 0.7165 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.1998, allocations: 1.871 MB / 0.7184 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.2113, allocations: 12.48 MB / 0.7305 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.2157, allocations: 1.973 MB / 0.7325 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/0.2165, allocations: 0.6089 MB / 0.7331 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.2167, allocations: 102.1 kB / 0.7332 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2168, allocations: 43.5 kB / 0.7332 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.856e-06/0.2168, allocations: 0 / 0.7332 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.006199/0.223, allocations: 3.706 MB / 0.7368 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.223, allocations: 64.41 kB / 0.7369 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2242, allocations: 0.9203 MB / 0.7378 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.2242, allocations: 49.64 kB / 0.7378 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.2247, allocations: 0.7237 MB / 0.7385 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.225, allocations: 386.5 kB / 0.7389 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.2254, allocations: 283.2 kB / 0.7392 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.2255, allocations: 301.1 kB / 0.7395 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008997/0.2264, allocations: 0.6168 MB / 0.7401 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.2276, allocations: 1.113 MB / 0.7411 GB, free: 416 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.2298, allocations: 1.824 MB / 0.7429 GB, free: 14.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.2298, allocations: 12 kB / 0.7429 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00336/0.2332, allocations: 2.096 MB / 0.745 GB, free: 12.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.2332, allocations: 12 kB / 0.745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.2332, allocations: 16 kB / 0.745 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007888/0.234, allocations: 263.1 kB / 0.7453 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2353, allocations: 375.4 kB / 0.7456 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0091/0.2444, allocations: 11.59 MB / 0.7569 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.2457, allocations: 131.8 kB / 0.7571 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/0.246, allocations: 72.06 kB / 0.7571 GB, free: 14.64 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.0006854/0.2467, allocations: 412.3 kB / 0.7575 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.2469, allocations: 126.5 kB / 0.7577 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.2498, allocations: 1.677 MB / 0.7593 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2498, allocations: 16 kB / 0.7593 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.2498, allocations: 0 / 0.7593 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.2498, allocations: 7.969 kB / 0.7593 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005047/0.2549, allocations: 3.283 MB / 0.7625 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.2549, allocations: 11.94 kB / 0.7625 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.2558, allocations: 220.4 kB / 0.7627 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007159/0.2565, allocations: 246.6 kB / 0.763 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.2566, allocations: 31.94 kB / 0.763 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3194/0.576, allocations: 11.56 MB / 0.7743 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.576, allocations: 6.344 kB / 0.7743 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.5793, allocations: 1.8 MB / 0.7761 GB, free: 83.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/0.5799, allocations: 316.7 kB / 0.7764 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.5801, allocations: 30.02 kB / 0.7764 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/0.5809, allocations: 89.98 kB / 0.7765 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/0.5811, allocations: 96.97 kB / 0.7766 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.5812, allocations: 35.38 kB / 0.7766 GB, free: 83.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009445/0.5822, allocations: 0.6151 MB / 0.7772 GB, free: 83.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5822, allocations: 3.562 kB / 0.7772 GB, free: 83.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001646/0.5838, allocations: 396.1 kB / 0.7776 GB, free: 83.64 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.003271/0.5871, allocations: 2.382 MB / 0.7799 GB, free: 82.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.5918, allocations: 2.882 MB / 0.7827 GB, free: 81.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.5919, allocations: 0 / 0.7827 GB, free: 81.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.5937, allocations: 1.629 MB / 0.7843 GB, free: 80.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/0.5954, allocations: 358.7 kB / 0.7847 GB, free: 79.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.6115, allocations: 12 MB / 0.7964 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.6131, allocations: 1.333 MB / 0.7977 GB, free: 72.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001424/0.6145, allocations: 364.9 kB / 0.798 GB, free: 72.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007484/0.6153, allocations: 0.5342 MB / 0.7985 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of SimCode: time 1.743e-06/0.6153, allocations: 0 / 0.7985 GB, free: 71.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06532/0.6806, allocations: 27.92 MB / 0.8258 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.02, allocations: 9 kB / 0.8258 GB, free: 55.73 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)