Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001224/0.001225, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002767/0.002767, allocations: 300.3 kB / 291.5 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 1.024/1.024, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4181, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004667/0.4228, allocations: 2.626 MB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.4252, allocations: 1.406 MB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.4254, allocations: 4 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.4262, allocations: 171.3 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003886/0.4266, allocations: 139.4 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.4271, allocations: 187.5 kB / 0.7715 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.4275, allocations: 215.3 kB / 0.7717 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.4279, allocations: 124.7 kB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.4281, allocations: 87.69 kB / 0.7719 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.4284, allocations: 99.64 kB / 0.772 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.4284, allocations: 12 kB / 0.772 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.4288, allocations: 183.6 kB / 0.7721 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4289, allocations: 67.8 kB / 0.7722 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.4291, allocations: 79.59 kB / 0.7723 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.4296, allocations: 285.7 kB / 0.7726 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4296, allocations: 0 / 0.7726 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4296, allocations: 0 / 0.7726 GB, free: 14.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4296, allocations: 4 kB / 0.7726 GB, free: 14.27 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000797/0.4304, allocations: 467.2 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.4305, allocations: 8.031 kB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.4311, allocations: 64.66 kB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.4314, allocations: 235.2 kB / 0.7733 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4314, allocations: 12.66 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.4315, allocations: 12.38 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.4319, allocations: 287.6 kB / 0.7736 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.432, allocations: 7.875 kB / 0.7736 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.432, allocations: 8 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.432, allocations: 20.16 kB / 0.7736 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.4324, allocations: 208.5 kB / 0.7738 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.4342, allocations: 1.576 MB / 0.7754 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.4346, allocations: 311.3 kB / 0.7757 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4347, allocations: 65.67 kB / 0.7757 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4347, allocations: 4 kB / 0.7757 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4348, allocations: 38.5 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/0.4348, allocations: 3.984 kB / 0.7758 GB, free: 10.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000642/0.4354, allocations: 248.6 kB / 0.776 GB, free: 10.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.4355, allocations: 81.11 kB / 0.7761 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.4357, allocations: 192.1 kB / 0.7763 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.4357, allocations: 25.7 kB / 0.7763 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4358, allocations: 159.6 kB / 0.7764 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.4359, allocations: 39.45 kB / 0.7765 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.436, allocations: 49.89 kB / 0.7765 GB, free: 9.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4361, allocations: 326.8 kB / 0.7768 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4362, allocations: 72.81 kB / 0.7769 GB, free: 9.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4364, allocations: 161.4 kB / 0.7771 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4367, allocations: 234.9 kB / 0.7773 GB, free: 8.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4367, allocations: 8.062 kB / 0.7773 GB, free: 8.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003927/0.4371, allocations: 261.2 kB / 0.7775 GB, free: 8.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4371, allocations: 4 kB / 0.7776 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.4371, allocations: 4 kB / 0.7776 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4372, allocations: 7.938 kB / 0.7776 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.4374, allocations: 55.91 kB / 0.7776 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4374, allocations: 4 kB / 0.7776 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.4376, allocations: 24.3 kB / 0.7776 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4376, allocations: 8 kB / 0.7777 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001536/0.4378, allocations: 164.1 kB / 0.7778 GB, free: 8.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001416/0.4379, allocations: 143.6 kB / 0.7779 GB, free: 8.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002303/0.4382, allocations: 219.7 kB / 0.7782 GB, free: 7.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4382, allocations: 0 / 0.7782 GB, free: 7.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003439/0.4385, allocations: 237.2 kB / 0.7784 GB, free: 7.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.4385, allocations: 4 kB / 0.7784 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4385, allocations: 7.938 kB / 0.7784 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.4386, allocations: 7.984 kB / 0.7784 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4387, allocations: 43.98 kB / 0.7784 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4388, allocations: 15.86 kB / 0.7785 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4389, allocations: 16.41 kB / 0.7785 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4389, allocations: 8 kB / 0.7785 GB, free: 7.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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.0001226/0.439, allocations: 192.1 kB / 0.7787 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.4391, allocations: 19.8 kB / 0.7787 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.4394, allocations: 147 kB / 0.7788 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4394, allocations: 3.938 kB / 0.7788 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4394, allocations: 4 kB / 0.7788 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4394, allocations: 0 / 0.7788 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.4403, allocations: 0.7276 MB / 0.7795 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4404, allocations: 4.031 kB / 0.7795 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4405, allocations: 23.98 kB / 0.7796 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4405, allocations: 4 kB / 0.7796 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4405, allocations: 8 kB / 0.7796 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4405, allocations: 3.938 kB / 0.7796 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4405, allocations: 4 kB / 0.7796 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4408, allocations: 374.3 kB / 0.7799 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.4409, allocations: 108.9 kB / 0.78 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.441, allocations: 8 kB / 0.7801 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4412, allocations: 7.984 kB / 0.7801 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.4412, allocations: 11.94 kB / 0.7801 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4412, allocations: 19.92 kB / 0.7801 GB, free: 5.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001228/0.4414, allocations: 153.1 kB / 0.7802 GB, free: 5.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4414, allocations: 0 / 0.7802 GB, free: 5.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005257/0.4419, allocations: 68 kB / 0.7803 GB, free: 5.605 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001344/0.442, allocations: 107.2 kB / 0.7804 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.4425, allocations: 277.1 kB / 0.7807 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4425, allocations: 4.188 kB / 0.7807 GB, free: 5.219 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.4426, allocations: 59.84 kB / 0.7807 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.4431, allocations: 37.14 kB / 0.7808 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.4439, allocations: 449 kB / 0.7812 GB, free: 4.633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4443, allocations: 0.7363 MB / 0.7819 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.4444, allocations: 27.42 kB / 0.7819 GB, free: 3.844 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4444, allocations: 0 / 0.7819 GB, free: 3.844 MB / 0.545 GB Notification: Performance of Templates: time 0.004391/0.4488, allocations: 2.218 MB / 0.7841 GB, free: 1.633 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)