Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009153, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005306/0.005306, allocations: 171.3 kB / 16.27 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001826, allocations: 282 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9623/0.9623, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 16.38 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01681/0.169, allocations: 16.01 MB / 0.7008 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009466/0.1785, allocations: 6.221 MB / 0.7068 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1796, allocations: 40.5 kB / 0.7069 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.1804, allocations: 317.7 kB / 0.7072 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.1823, allocations: 0.7959 MB / 0.708 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.1847, allocations: 1.08 MB / 0.709 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005577/0.1902, allocations: 5.789 MB / 0.7147 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009643/0.1999, allocations: 6.14 MB / 0.7207 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.2025, allocations: 1.125 MB / 0.7218 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002734/0.2052, allocations: 1.717 MB / 0.7234 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.2055, allocations: 160 kB / 0.7236 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2069, allocations: 0.7409 MB / 0.7243 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.2081, allocations: 1.228 MB / 0.7255 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.2095, allocations: 1.242 MB / 0.7267 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.2141, allocations: 5.276 MB / 0.7319 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2141, allocations: 0 / 0.7319 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2141, allocations: 4 kB / 0.7319 GB, free: 15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.109e-05/0.2142, allocations: 3.938 kB / 0.7319 GB, free: 14.99 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.003914/0.2181, allocations: 2.196 MB / 0.734 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2182, allocations: 15.97 kB / 0.734 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.2219, allocations: 0.7979 MB / 0.7348 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.2241, allocations: 1.407 MB / 0.7362 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.2242, allocations: 189.5 kB / 0.7364 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/0.2246, allocations: 248.4 kB / 0.7366 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.2314, allocations: 4.588 MB / 0.7411 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.01e-05/0.2315, allocations: 7.938 kB / 0.7411 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.2318, allocations: 108 kB / 0.7412 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/0.232, allocations: 180.2 kB / 0.7414 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005737/0.2377, allocations: 3.836 MB / 0.7451 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.2589, allocations: 21.44 MB / 0.7661 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.2614, allocations: 2.249 MB / 0.7683 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009638/0.2623, allocations: 0.7163 MB / 0.769 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.2624, allocations: 16.86 kB / 0.769 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.2624, allocations: 54.44 kB / 0.769 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 3.046e-06/0.2625, allocations: 0 / 0.769 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.005599/0.2681, allocations: 4.184 MB / 0.7731 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.2682, allocations: 251.3 kB / 0.7734 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.2696, allocations: 1.112 MB / 0.7744 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.2696, allocations: 33.7 kB / 0.7745 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2857/0.5553, allocations: 1.182 MB / 0.7756 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.5556, allocations: 254.6 kB / 0.7759 GB, free: 87.58 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5558, allocations: 125.7 kB / 0.776 GB, free: 87.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.556, allocations: 345 kB / 0.7763 GB, free: 87.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.5571, allocations: 0.6996 MB / 0.777 GB, free: 87.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.5585, allocations: 1.401 MB / 0.7784 GB, free: 86.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/0.5608, allocations: 2.164 MB / 0.7805 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.5608, allocations: 7 kB / 0.7805 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002951/0.5638, allocations: 2.187 MB / 0.7826 GB, free: 84.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003196/0.5641, allocations: 0.7811 MB / 0.7834 GB, free: 83.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.5641, allocations: 24.25 kB / 0.7834 GB, free: 83.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.816e-05/0.5642, allocations: 32.97 kB / 0.7834 GB, free: 83.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.5656, allocations: 433 kB / 0.7839 GB, free: 83.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.334e-05/0.5656, allocations: 52.09 kB / 0.7839 GB, free: 83.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5668, allocations: 192.3 kB / 0.7841 GB, free: 83.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.567, allocations: 85.62 kB / 0.7842 GB, free: 83.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.567, allocations: 10.12 kB / 0.7842 GB, free: 83.21 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/0.5692, allocations: 1.853 MB / 0.786 GB, free: 82.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.5692, allocations: 26.19 kB / 0.786 GB, free: 82.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.5693, allocations: 31.5 kB / 0.786 GB, free: 82.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.5703, allocations: 387.8 kB / 0.7864 GB, free: 82.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.444e-05/0.5704, allocations: 51 kB / 0.7865 GB, free: 82.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/0.5713, allocations: 128 kB / 0.7866 GB, free: 82.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.5714, allocations: 81.83 kB / 0.7867 GB, free: 82.42 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.001643/0.5731, allocations: 1.137 MB / 0.7878 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.5734, allocations: 109.5 kB / 0.7879 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.575, allocations: 1.094 MB / 0.789 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.575, allocations: 10.34 kB / 0.789 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.575, allocations: 0.6094 kB / 0.789 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.575, allocations: 8.922 kB / 0.789 GB, free: 81.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.5869, allocations: 10.19 MB / 0.7989 GB, free: 77.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.587, allocations: 23.2 kB / 0.7989 GB, free: 77.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/0.5876, allocations: 187.3 kB / 0.7991 GB, free: 77.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.5876, allocations: 20.19 kB / 0.7991 GB, free: 77.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.5877, allocations: 31.38 kB / 0.7992 GB, free: 77.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/0.5877, allocations: 36 kB / 0.7992 GB, free: 77.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/0.5877, allocations: 21.22 kB / 0.7992 GB, free: 77.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.5894, allocations: 2.154 MB / 0.8013 GB, free: 75.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.5898, allocations: 338.8 kB / 0.8016 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.59, allocations: 38.56 kB / 0.8017 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/0.5909, allocations: 93.84 kB / 0.8018 GB, free: 75.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.591, allocations: 107.5 kB / 0.8019 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.5911, allocations: 38.28 kB / 0.8019 GB, free: 75.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008858/0.592, allocations: 0.7659 MB / 0.8027 GB, free: 74.81 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.592, allocations: 0 / 0.8027 GB, free: 74.81 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003254/0.5952, allocations: 0.7256 MB / 0.8034 GB, free: 74.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002253/0.5955, allocations: 154.5 kB / 0.8035 GB, free: 74.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.599, allocations: 2.478 MB / 0.8059 GB, free: 73.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.599, allocations: 2.75 kB / 0.8059 GB, free: 73.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.5997, allocations: 0.5715 MB / 0.8065 GB, free: 73.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.6034, allocations: 255.1 kB / 0.8067 GB, free: 73.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/0.6098, allocations: 5.509 MB / 0.8121 GB, free: 69.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.6113, allocations: 2.003 MB / 0.8141 GB, free: 68.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00183/0.6132, allocations: 0.8603 MB / 0.8149 GB, free: 68.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.6135, allocations: 85.14 kB / 0.815 GB, free: 68.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6135, allocations: 0 / 0.815 GB, free: 68.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.01968/0.6331, allocations: 13.66 MB / 0.8283 GB, free: 56.45 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)