Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001674/0.001674, allocations: 195.1 kB / 16.14 MB, free: 6.707 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.361/1.361, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 285.8 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.923/0.923, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 89.06 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 86.98 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03893/0.1811, allocations: 36.9 MB / 0.7155 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.2039, allocations: 13.61 MB / 0.7288 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.207, allocations: 99.62 kB / 0.7289 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005307/0.2123, allocations: 2.112 MB / 0.7309 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.2157, allocations: 1.335 MB / 0.7322 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007559/0.2233, allocations: 3.272 MB / 0.7354 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008803/0.2321, allocations: 9.573 MB / 0.7448 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0148/0.2469, allocations: 11.2 MB / 0.7557 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004161/0.2512, allocations: 2.282 MB / 0.7579 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004934/0.2561, allocations: 3.295 MB / 0.7612 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.2572, allocations: 432 kB / 0.7616 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.2599, allocations: 1.225 MB / 0.7628 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.2625, allocations: 2.281 MB / 0.765 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003158/0.2657, allocations: 2.33 MB / 0.7673 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2918/0.5575, allocations: 8.999 MB / 0.7761 GB, free: 36.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5576, allocations: 0 / 0.7761 GB, free: 36.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5576, allocations: 0 / 0.7761 GB, free: 36.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002423/0.5578, allocations: 0 / 0.7761 GB, free: 36.49 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008936/0.5668, allocations: 4.291 MB / 0.7802 GB, free: 35.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5668, allocations: 9.812 kB / 0.7803 GB, free: 35.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.5713, allocations: 0.949 MB / 0.7812 GB, free: 34.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004575/0.5759, allocations: 2.179 MB / 0.7833 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.5762, allocations: 325.8 kB / 0.7836 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009946/0.5772, allocations: 431.5 kB / 0.784 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.5903, allocations: 7.361 MB / 0.7912 GB, free: 33.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.791e-05/0.5905, allocations: 16.75 kB / 0.7912 GB, free: 33.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/0.591, allocations: 185.6 kB / 0.7914 GB, free: 33.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002863/0.5913, allocations: 291 kB / 0.7917 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.6015, allocations: 5.959 MB / 0.7975 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0318/0.6334, allocations: 32.62 MB / 0.8294 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/0.6362, allocations: 2.118 MB / 0.8314 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.6374, allocations: 1.236 MB / 0.8326 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.6376, allocations: 104 kB / 0.8327 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.6376, allocations: 44.59 kB / 0.8328 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 2.756e-06/0.6376, allocations: 0 / 0.8328 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.006459/0.6441, allocations: 5.234 MB / 0.8379 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.6441, allocations: 145.5 kB / 0.838 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.6455, allocations: 1.455 MB / 0.8395 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.6455, allocations: 41.67 kB / 0.8395 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/0.6461, allocations: 1.864 MB / 0.8413 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.6464, allocations: 376 kB / 0.8417 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/0.6469, allocations: 458.2 kB / 0.8421 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.6469, allocations: 305.2 kB / 0.8424 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.6481, allocations: 1.118 MB / 0.8435 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.6496, allocations: 2.187 MB / 0.8456 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.6529, allocations: 3.395 MB / 0.8489 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.6529, allocations: 11.69 kB / 0.849 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004102/0.657, allocations: 3.31 MB / 0.8522 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.657, allocations: 20.62 kB / 0.8522 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.6571, allocations: 32.66 kB / 0.8522 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/0.6571, allocations: 52.47 kB / 0.8523 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.6591, allocations: 0.6188 MB / 0.8529 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/0.6591, allocations: 75.28 kB / 0.853 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6608, allocations: 310.9 kB / 0.8533 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6609, allocations: 116.1 kB / 0.8534 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002906/0.6638, allocations: 2.405 MB / 0.8557 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001662/0.6655, allocations: 2.012 MB / 0.8577 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004489/0.67, allocations: 3.027 MB / 0.8606 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-05/0.6701, allocations: 12 kB / 0.8607 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.00706/0.6771, allocations: 2.929 MB / 0.8635 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.6772, allocations: 20 kB / 0.8635 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-05/0.6773, allocations: 36 kB / 0.8636 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.446e-05/0.6774, allocations: 48 kB / 0.8636 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/0.6803, allocations: 0.5541 MB / 0.8642 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-05/0.6804, allocations: 69.75 kB / 0.8642 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/0.6832, allocations: 251.2 kB / 0.8645 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.6834, allocations: 112 kB / 0.8646 GB, free: 2.691 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007686/0.6842, allocations: 335 kB / 0.8649 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/0.6848, allocations: 162.1 kB / 0.865 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.6898, allocations: 2.218 MB / 0.8672 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-05/0.6899, allocations: 16.05 kB / 0.8672 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6899, allocations: 3.938 kB / 0.8672 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.6899, allocations: 7.938 kB / 0.8672 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/0.7137, allocations: 10.97 MB / 0.8779 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/0.7138, allocations: 16.17 kB / 0.878 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/0.716, allocations: 389.4 kB / 0.8783 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.682e-05/0.716, allocations: 16 kB / 0.8784 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.7162, allocations: 28 kB / 0.8784 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.628e-05/0.7162, allocations: 26.83 kB / 0.8784 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/0.7162, allocations: 19.66 kB / 0.8784 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004208/0.7205, allocations: 2.763 MB / 0.8811 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.7216, allocations: 456.5 kB / 0.8816 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.7219, allocations: 35.98 kB / 0.8816 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/0.7237, allocations: 163.7 kB / 0.8817 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000298/0.724, allocations: 95.19 kB / 0.8818 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/0.7241, allocations: 40 kB / 0.8819 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001916/0.7261, allocations: 0.9742 MB / 0.8828 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7261, allocations: 0 / 0.8828 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006354/0.7324, allocations: 1.129 MB / 0.8839 GB, free: 14.61 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003447/0.7328, allocations: 152.1 kB / 0.8841 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00832/0.7411, allocations: 3.983 MB / 0.888 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/0.7412, allocations: 0 / 0.888 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.7433, allocations: 1.062 MB / 0.889 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.747, allocations: 410.7 kB / 0.8894 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.7604, allocations: 8.793 MB / 0.898 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.7632, allocations: 2.868 MB / 0.9008 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003053/0.7662, allocations: 1.205 MB / 0.902 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.7667, allocations: 123.4 kB / 0.9021 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of SimCode: time 1.853e-06/0.7667, allocations: 2.156 kB / 0.9021 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of Templates: time 0.0395/0.8063, allocations: 23.69 MB / 0.9252 GB, free: 4.77 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)