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.001688/0.001688, allocations: 108.8 kB / 16.41 MB, free: 6.508 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.001865/0.001865, allocations: 184 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.446/1.446, 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.002514/0.002514, allocations: 286.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003124/0.003124, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4165, allocations: 86.97 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01458/0.4311, allocations: 11.1 MB / 0.7779 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.4414, allocations: 5.8 MB / 0.7836 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.4424, allocations: 51.69 kB / 0.7836 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0047/0.4471, allocations: 1.736 MB / 0.7853 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.4506, allocations: 1.182 MB / 0.7865 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.4529, allocations: 0.8084 MB / 0.7873 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.4559, allocations: 2.127 MB / 0.7893 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.4573, allocations: 1.045 MB / 0.7904 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.4587, allocations: 0.864 MB / 0.7912 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.46, allocations: 0.9065 MB / 0.7921 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.4602, allocations: 116 kB / 0.7922 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.4624, allocations: 1.169 MB / 0.7933 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005863/0.4629, allocations: 0.5373 MB / 0.7939 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008524/0.4638, allocations: 0.7849 MB / 0.7946 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003106/0.4669, allocations: 2.438 MB / 0.797 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4669, allocations: 4 kB / 0.797 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4669, allocations: 0 / 0.797 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.3e-05/0.4669, allocations: 0 / 0.797 GB, free: 4.977 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.00314/0.4701, allocations: 1.915 MB / 0.7989 GB, free: 3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4701, allocations: 11.97 kB / 0.7989 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.4748, allocations: 0.6825 MB / 0.7996 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.4767, allocations: 1.013 MB / 0.8005 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.4768, allocations: 98.89 kB / 0.8006 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.4771, allocations: 128.3 kB / 0.8008 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.4804, allocations: 2.206 MB / 0.8029 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.4805, allocations: 11.88 kB / 0.8029 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.4806, allocations: 63.95 kB / 0.803 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/0.4809, allocations: 170.2 kB / 0.8032 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.4839, allocations: 1.867 MB / 0.805 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.4978, allocations: 12.44 MB / 0.8171 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/0.5023, allocations: 1.878 MB / 0.819 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/0.5032, allocations: 0.5542 MB / 0.8195 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.5034, allocations: 94.09 kB / 0.8196 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5034, allocations: 43.56 kB / 0.8196 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=103): time 2.595e-06/0.5034, allocations: 7.938 kB / 0.8196 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110): time 0.006536/0.5099, allocations: 3.732 MB / 0.8233 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.51, allocations: 64.41 kB / 0.8233 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5112, allocations: 0.9205 MB / 0.8242 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.313e-05/0.5112, allocations: 45.7 kB / 0.8243 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.5118, allocations: 0.7533 MB / 0.825 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.5122, allocations: 404.6 kB / 0.8254 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004137/0.5126, allocations: 295.3 kB / 0.8257 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5127, allocations: 301.1 kB / 0.826 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.5137, allocations: 0.6129 MB / 0.8266 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.5152, allocations: 1.113 MB / 0.8277 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/0.5177, allocations: 1.828 MB / 0.8294 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.5177, allocations: 4 kB / 0.8295 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003702/0.5214, allocations: 2.104 MB / 0.8315 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.5214, allocations: 14.34 kB / 0.8315 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.5214, allocations: 16 kB / 0.8315 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.5222, allocations: 255.2 kB / 0.8318 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5236, allocations: 371.4 kB / 0.8321 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.5338, allocations: 11.59 MB / 0.8434 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.5351, allocations: 123.8 kB / 0.8436 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5352, allocations: 79.86 kB / 0.8436 GB, free: 2.07 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.0008094/0.536, allocations: 414.6 kB / 0.844 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.5363, allocations: 135.2 kB / 0.8442 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.5394, allocations: 1.677 MB / 0.8458 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5394, allocations: 12 kB / 0.8458 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5394, allocations: 0 / 0.8458 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.5394, allocations: 3.984 kB / 0.8458 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.5451, allocations: 3.292 MB / 0.849 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5451, allocations: 11.94 kB / 0.849 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/0.546, allocations: 215.7 kB / 0.8493 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.5468, allocations: 250.7 kB / 0.8495 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.756e-05/0.5469, allocations: 23.94 kB / 0.8495 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.5569, allocations: 11.58 MB / 0.8608 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.5569, allocations: 7.938 kB / 0.8608 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.5599, allocations: 1.8 MB / 0.8626 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.5605, allocations: 316.1 kB / 0.8629 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5607, allocations: 23.95 kB / 0.8629 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007457/0.5614, allocations: 91.88 kB / 0.863 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.5616, allocations: 100.6 kB / 0.8631 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.5617, allocations: 39.98 kB / 0.8631 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008828/0.5626, allocations: 0.6177 MB / 0.8637 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5626, allocations: 0 / 0.8637 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001399/0.564, allocations: 395.9 kB / 0.8641 GB, free: 11.64 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.0002357/0.5642, allocations: 143 kB / 0.8642 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003781/0.568, allocations: 2.402 MB / 0.8666 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.568, allocations: 0 / 0.8666 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.5703, allocations: 1.587 MB / 0.8681 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.572, allocations: 359.4 kB / 0.8685 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.5766, allocations: 2.789 MB / 0.8712 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.5777, allocations: 1.327 MB / 0.8725 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001024/0.5787, allocations: 359.3 kB / 0.8728 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.579, allocations: 99.42 kB / 0.8729 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of SimCode: time 1.143e-06/0.579, allocations: 0 / 0.8729 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of Templates: time 0.03239/0.6114, allocations: 17.48 MB / 0.89 GB, free: 0.957 MB / 0.6544 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)