Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.001029/0.001029, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002254/0.002255, allocations: 293 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9682/0.9682, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4874, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005624/0.4931, allocations: 4.274 MB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.4968, allocations: 2.377 MB / 0.7735 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.4971, allocations: 15.88 kB / 0.7736 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4983, allocations: 366.3 kB / 0.7739 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008949/0.4992, allocations: 394.1 kB / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.5, allocations: 317.2 kB / 0.7746 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000737/0.5007, allocations: 0.6866 MB / 0.7753 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.5012, allocations: 265.4 kB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.5015, allocations: 259 kB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.5018, allocations: 270.8 kB / 0.776 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.5019, allocations: 32 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.5026, allocations: 431 kB / 0.7765 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.5028, allocations: 135.6 kB / 0.7766 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.503, allocations: 242.7 kB / 0.7768 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.5038, allocations: 0.7345 MB / 0.7775 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5039, allocations: 0 / 0.7775 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5039, allocations: 0 / 0.7775 GB, free: 9.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.5039, allocations: 0 / 0.7775 GB, free: 9.152 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001156/0.505, allocations: 0.7793 MB / 0.7783 GB, free: 8.324 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5051, allocations: 11.97 kB / 0.7783 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5064, allocations: 196 kB / 0.7785 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.507, allocations: 436.5 kB / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.5071, allocations: 25.36 kB / 0.7789 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.5071, allocations: 36.38 kB / 0.779 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.508, allocations: 0.651 MB / 0.7796 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.508, allocations: 7.938 kB / 0.7796 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.5081, allocations: 19.98 kB / 0.7796 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.412e-05/0.5081, allocations: 51.97 kB / 0.7797 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.5088, allocations: 499.3 kB / 0.7802 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.512, allocations: 3.778 MB / 0.7838 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.5137, allocations: 0.636 MB / 0.7845 GB, free: 1.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.5139, allocations: 182.4 kB / 0.7846 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5139, allocations: 0 / 0.7846 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.514, allocations: 42.56 kB / 0.7847 GB, free: 1.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.514, allocations: 0 / 0.7847 GB, free: 1.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.00221/0.5162, allocations: 1.281 MB / 0.7859 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.5163, allocations: 106.8 kB / 0.786 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.5167, allocations: 401.7 kB / 0.7864 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.5167, allocations: 29.7 kB / 0.7864 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.5169, allocations: 279.5 kB / 0.7867 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.517, allocations: 118.3 kB / 0.7868 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.5172, allocations: 102.2 kB / 0.7869 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5174, allocations: 354.8 kB / 0.7873 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.5176, allocations: 177 kB / 0.7874 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.518, allocations: 379.2 kB / 0.7878 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.5187, allocations: 0.5912 MB / 0.7884 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5188, allocations: 8.219 kB / 0.7884 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001048/0.5198, allocations: 0.6706 MB / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5198, allocations: 8 kB / 0.789 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5199, allocations: 12.69 kB / 0.7891 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.5202, allocations: 98.45 kB / 0.7891 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.5206, allocations: 115.8 kB / 0.7893 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.524, allocations: 4.344 MB / 0.7935 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.5243, allocations: 31.95 kB / 0.7935 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.5244, allocations: 24 kB / 0.7936 GB, free: 7.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002642/0.5247, allocations: 202.3 kB / 0.7937 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5248, allocations: 51.42 kB / 0.7938 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/0.5257, allocations: 0.5112 MB / 0.7943 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5257, allocations: 4 kB / 0.7943 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5257, allocations: 4 kB / 0.7943 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.5257, allocations: 3.984 kB / 0.7943 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.5275, allocations: 1.287 MB / 0.7956 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5275, allocations: 7.938 kB / 0.7956 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5277, allocations: 59.89 kB / 0.7956 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.528, allocations: 94.72 kB / 0.7957 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.528, allocations: 12 kB / 0.7957 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/0.5312, allocations: 4.332 MB / 0.8 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5313, allocations: 7.938 kB / 0.8 GB, free: 380 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.5321, allocations: 0.7747 MB / 0.8007 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5323, allocations: 152.5 kB / 0.8009 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.5324, allocations: 11.94 kB / 0.8009 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.5327, allocations: 23.97 kB / 0.8009 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.5328, allocations: 31.84 kB / 0.8009 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.5328, allocations: 16 kB / 0.8009 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002782/0.5331, allocations: 283.1 kB / 0.8012 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5331, allocations: 0 / 0.8012 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006594/0.5338, allocations: 124 kB / 0.8013 GB, free: 14.89 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.00016/0.5339, allocations: 108.1 kB / 0.8014 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.5351, allocations: 0.8066 MB / 0.8022 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5351, allocations: 0 / 0.8022 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.5358, allocations: 0.543 MB / 0.8028 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.5367, allocations: 139.5 kB / 0.8029 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5381, allocations: 0.9496 MB / 0.8038 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.5385, allocations: 0.8624 MB / 0.8047 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5386, allocations: 43.42 kB / 0.8047 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.5386, allocations: 4 kB / 0.8047 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.0127/0.5513, allocations: 11.14 MB / 0.8156 GB, free: 164 kB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)