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.001044/0.001044, allocations: 107 kB / 16.36 MB, free: 6.336 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.001135/0.001135, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 293.6 kB / 291.4 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.9096/0.9096, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 90.7 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.2835/0.4431, allocations: 16.68 MB / 0.6979 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009422/0.4525, allocations: 6.263 MB / 0.704 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/0.4542, allocations: 53.12 kB / 0.7041 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.4576, allocations: 1.289 MB / 0.7053 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.4598, allocations: 0.8452 MB / 0.7062 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.4634, allocations: 1.544 MB / 0.7077 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.4688, allocations: 3.848 MB / 0.7114 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005372/0.4742, allocations: 4.967 MB / 0.7163 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.4768, allocations: 1.65 MB / 0.7179 GB, free: 140 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.4798, allocations: 1.986 MB / 0.7198 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.4803, allocations: 380.2 kB / 0.7202 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.4819, allocations: 0.8203 MB / 0.721 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.4835, allocations: 1.494 MB / 0.7224 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.4855, allocations: 1.53 MB / 0.7239 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/0.4907, allocations: 5.543 MB / 0.7293 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4908, allocations: 0 / 0.7293 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4908, allocations: 0 / 0.7293 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001011/0.4909, allocations: 5.75 kB / 0.7294 GB, free: 9.941 MB / 0.4981 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.005583/0.4965, allocations: 2.732 MB / 0.732 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4965, allocations: 9.188 kB / 0.732 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.5002, allocations: 0.7717 MB / 0.7328 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/0.5034, allocations: 1.428 MB / 0.7342 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.5036, allocations: 192.2 kB / 0.7344 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.5041, allocations: 250.5 kB / 0.7346 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007265/0.5113, allocations: 4.592 MB / 0.7391 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.5114, allocations: 15.97 kB / 0.7391 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.5117, allocations: 106.1 kB / 0.7392 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002146/0.5119, allocations: 177.7 kB / 0.7394 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00585/0.5178, allocations: 3.834 MB / 0.7431 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/0.5392, allocations: 21.27 MB / 0.7639 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.5416, allocations: 2.246 MB / 0.7661 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/0.5426, allocations: 0.7304 MB / 0.7668 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.5426, allocations: 16.86 kB / 0.7668 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.5427, allocations: 46.5 kB / 0.7669 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.564e-06/0.5427, allocations: 0 / 0.7669 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.005218/0.5479, allocations: 4.198 MB / 0.771 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.548, allocations: 243.3 kB / 0.7712 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.5493, allocations: 1.112 MB / 0.7723 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.5494, allocations: 37.7 kB / 0.7723 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006497/0.55, allocations: 1.191 MB / 0.7735 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5502, allocations: 252.6 kB / 0.7737 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.5507, allocations: 327.1 kB / 0.774 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5508, allocations: 350.1 kB / 0.7744 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/0.5517, allocations: 0.7113 MB / 0.7751 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5531, allocations: 1.399 MB / 0.7764 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.5553, allocations: 2.151 MB / 0.7785 GB, free: 8.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.5553, allocations: 12 kB / 0.7785 GB, free: 8.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.002935/0.5583, allocations: 2.187 MB / 0.7807 GB, free: 6.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5583, allocations: 22.28 kB / 0.7807 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.5583, allocations: 24 kB / 0.7807 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/0.5584, allocations: 32 kB / 0.7807 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.5597, allocations: 427.2 kB / 0.7812 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.081e-05/0.5598, allocations: 63.7 kB / 0.7812 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.561, allocations: 187.8 kB / 0.7814 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5611, allocations: 83.98 kB / 0.7815 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002171/0.5633, allocations: 1.546 MB / 0.783 GB, free: 4.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/0.5645, allocations: 1.322 MB / 0.7843 GB, free: 2.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001994/0.5665, allocations: 1.984 MB / 0.7862 GB, free: 200 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.767e-06/0.5665, allocations: 4 kB / 0.7862 GB, free: 196 kB / 0.545 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.002676/0.5692, allocations: 1.979 MB / 0.7881 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5692, allocations: 16 kB / 0.7882 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/0.5693, allocations: 28 kB / 0.7882 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/0.5693, allocations: 36.72 kB / 0.7882 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5704, allocations: 391.3 kB / 0.7886 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/0.5705, allocations: 55.84 kB / 0.7887 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.5715, allocations: 151.5 kB / 0.7888 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.5717, allocations: 87.92 kB / 0.7889 GB, free: 13.45 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.0003476/0.572, allocations: 291.5 kB / 0.7892 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.5723, allocations: 106.7 kB / 0.7893 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.5738, allocations: 1.092 MB / 0.7903 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5738, allocations: 11.98 kB / 0.7903 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.5738, allocations: 4 kB / 0.7903 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5738, allocations: 3.984 kB / 0.7903 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.5861, allocations: 10.18 MB / 0.8003 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.5861, allocations: 16 kB / 0.8003 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.5868, allocations: 191.7 kB / 0.8005 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.5868, allocations: 20 kB / 0.8005 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.5869, allocations: 32 kB / 0.8005 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-05/0.5869, allocations: 32.48 kB / 0.8006 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-05/0.5869, allocations: 27.88 kB / 0.8006 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.589, allocations: 2.158 MB / 0.8027 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.5895, allocations: 323.6 kB / 0.803 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5897, allocations: 35.98 kB / 0.803 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009158/0.5906, allocations: 99.84 kB / 0.8031 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5907, allocations: 95.56 kB / 0.8032 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.5908, allocations: 48 kB / 0.8033 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009419/0.5918, allocations: 0.7658 MB / 0.804 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5918, allocations: 0 / 0.804 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002789/0.5946, allocations: 0.7266 MB / 0.8047 GB, free: 12.7 MB / 0.5762 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.000208/0.5948, allocations: 154.9 kB / 0.8049 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003293/0.5981, allocations: 2.518 MB / 0.8073 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.5981, allocations: 4.875 kB / 0.8073 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.5988, allocations: 0.5655 MB / 0.8079 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.6006, allocations: 257.8 kB / 0.8081 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.6071, allocations: 4.401 MB / 0.8124 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.6089, allocations: 2.011 MB / 0.8144 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001829/0.6107, allocations: 0.8521 MB / 0.8152 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.611, allocations: 87.42 kB / 0.8153 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of SimCode: time 2.194e-06/0.611, allocations: 0 / 0.8153 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of Templates: time 0.02295/0.634, allocations: 14.35 MB / 0.8293 GB, free: 3.391 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)