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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001536/0.001536, allocations: 187 kB / 17.34 MB, free: 5.742 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003775/0.003775, allocations: 292.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 99.86 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4429, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01345/0.4564, allocations: 11.08 MB / 0.7779 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.4657, allocations: 5.793 MB / 0.7835 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.4669, allocations: 51.62 kB / 0.7836 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00449/0.4714, allocations: 1.721 MB / 0.7853 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.4747, allocations: 1.182 MB / 0.7864 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.4769, allocations: 0.8105 MB / 0.7872 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.4798, allocations: 2.135 MB / 0.7893 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.4816, allocations: 1.318 MB / 0.7906 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.4829, allocations: 0.8484 MB / 0.7914 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.4844, allocations: 0.9143 MB / 0.7923 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.4848, allocations: 112 kB / 0.7924 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4871, allocations: 1.181 MB / 0.7936 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007094/0.4878, allocations: 0.5219 MB / 0.7941 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.4892, allocations: 0.7888 MB / 0.7948 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.493, allocations: 2.417 MB / 0.7972 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.493, allocations: 0 / 0.7972 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.493, allocations: 4 kB / 0.7972 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.459e-05/0.4931, allocations: 3.938 kB / 0.7972 GB, free: 4.887 MB / 0.5606 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.003561/0.4967, allocations: 1.871 MB / 0.799 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4967, allocations: 8.031 kB / 0.799 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.5014, allocations: 0.6737 MB / 0.7997 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.5031, allocations: 1 MB / 0.8007 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.5032, allocations: 94.89 kB / 0.8008 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/0.5034, allocations: 120.4 kB / 0.8009 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.5067, allocations: 2.218 MB / 0.803 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.5068, allocations: 15.94 kB / 0.8031 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.507, allocations: 55.97 kB / 0.8031 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.5072, allocations: 170.2 kB / 0.8033 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.5102, allocations: 1.859 MB / 0.8051 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.5221, allocations: 12.45 MB / 0.8172 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.5264, allocations: 1.968 MB / 0.8192 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.5273, allocations: 0.6206 MB / 0.8198 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.5274, allocations: 98.08 kB / 0.8199 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.5275, allocations: 43.56 kB / 0.8199 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.846e-06/0.5275, allocations: 4 kB / 0.8199 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.005965/0.5335, allocations: 3.706 MB / 0.8235 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5335, allocations: 64.41 kB / 0.8236 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.5347, allocations: 0.9164 MB / 0.8245 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.5347, allocations: 45.7 kB / 0.8245 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.5352, allocations: 0.7315 MB / 0.8252 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.5355, allocations: 386.5 kB / 0.8256 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.5359, allocations: 287.2 kB / 0.8259 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.536, allocations: 301.1 kB / 0.8262 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009084/0.5369, allocations: 0.6129 MB / 0.8268 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.5381, allocations: 1.106 MB / 0.8279 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.5404, allocations: 1.832 MB / 0.8296 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5404, allocations: 4 kB / 0.8296 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003404/0.5438, allocations: 2.1 MB / 0.8317 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.5438, allocations: 14.66 kB / 0.8317 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.5439, allocations: 16 kB / 0.8317 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/0.5447, allocations: 262.9 kB / 0.832 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.546, allocations: 371.4 kB / 0.8323 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.5545, allocations: 11.58 MB / 0.8436 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5559, allocations: 123.8 kB / 0.8438 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.5561, allocations: 75.88 kB / 0.8438 GB, free: 1.977 MB / 0.6075 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.0007476/0.5568, allocations: 407.7 kB / 0.8442 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.5571, allocations: 126.5 kB / 0.8443 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.56, allocations: 1.681 MB / 0.846 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.56, allocations: 16 kB / 0.846 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.56, allocations: 7.938 kB / 0.846 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5601, allocations: 7.969 kB / 0.846 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/0.5651, allocations: 3.284 MB / 0.8492 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5652, allocations: 8 kB / 0.8492 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.5661, allocations: 223.7 kB / 0.8494 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.5668, allocations: 246.6 kB / 0.8497 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.5669, allocations: 27.94 kB / 0.8497 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008181/0.5751, allocations: 11.57 MB / 0.861 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5751, allocations: 4 kB / 0.861 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5778, allocations: 1.799 MB / 0.8628 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.5784, allocations: 307.4 kB / 0.8631 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.5787, allocations: 27.98 kB / 0.8631 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/0.5795, allocations: 91.88 kB / 0.8632 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.5797, allocations: 96.7 kB / 0.8633 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.5798, allocations: 32 kB / 0.8633 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008324/0.5806, allocations: 0.6177 MB / 0.8639 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5806, allocations: 0 / 0.8639 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001418/0.5821, allocations: 392 kB / 0.8643 GB, free: 11.57 MB / 0.6387 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.0002474/0.5823, allocations: 152.8 kB / 0.8644 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.5859, allocations: 2.501 MB / 0.8669 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5859, allocations: 0 / 0.8669 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.5879, allocations: 1.629 MB / 0.8684 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.5898, allocations: 372.7 kB / 0.8688 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.5946, allocations: 2.837 MB / 0.8716 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.5957, allocations: 1.327 MB / 0.8729 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.5961, allocations: 115.4 kB / 0.873 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/0.5961, allocations: 0 / 0.873 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of Templates: time 0.05879/0.6549, allocations: 59.33 MB / 0.9309 GB, free: 6.988 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (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 & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)