Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 106.3 kB / 16.4 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.001906/0.001906, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002637/0.002637, allocations: 287.1 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 0.9986/0.9986, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4092, allocations: 86.98 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004424/0.4136, allocations: 2.807 MB / 0.7698 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.4169, allocations: 2.026 MB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.417, allocations: 4 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.4178, allocations: 227 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.4183, allocations: 199.1 kB / 0.7722 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.4189, allocations: 279.2 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.4193, allocations: 315.1 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.4196, allocations: 129.8 kB / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.4198, allocations: 123.6 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.4201, allocations: 155.5 kB / 0.7731 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.4201, allocations: 16 kB / 0.7732 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.4207, allocations: 391.2 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4208, allocations: 99.7 kB / 0.7736 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.4209, allocations: 111.5 kB / 0.7737 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.4215, allocations: 464.2 kB / 0.7742 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4215, allocations: 0 / 0.7742 GB, free: 12.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4215, allocations: 3.938 kB / 0.7742 GB, free: 12.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.4215, allocations: 0 / 0.7742 GB, free: 12.47 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001021/0.4226, allocations: 0.5608 MB / 0.7747 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4226, allocations: 16.03 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.4234, allocations: 112.6 kB / 0.7748 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.4238, allocations: 262.4 kB / 0.7751 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.4238, allocations: 16.8 kB / 0.7751 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.4239, allocations: 24.11 kB / 0.7751 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.4245, allocations: 385.9 kB / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4245, allocations: 0 / 0.7755 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.4246, allocations: 8 kB / 0.7755 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.4246, allocations: 23.98 kB / 0.7755 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/0.4253, allocations: 363.6 kB / 0.7759 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.4274, allocations: 1.726 MB / 0.7776 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.4281, allocations: 336.9 kB / 0.7779 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.4285, allocations: 171.2 kB / 0.778 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.4286, allocations: 93.08 kB / 0.7781 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4287, allocations: 38.56 kB / 0.7782 GB, free: 8.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.4287, allocations: 0 / 0.7782 GB, free: 8.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007772/0.4364, allocations: 1.916 MB / 0.78 GB, free: 6.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4365, allocations: 89.05 kB / 0.7801 GB, free: 6.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.4367, allocations: 184 kB / 0.7803 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.4367, allocations: 37.64 kB / 0.7803 GB, free: 5.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4368, allocations: 152.6 kB / 0.7805 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4369, allocations: 123 kB / 0.7806 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.4371, allocations: 77.64 kB / 0.7807 GB, free: 5.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4373, allocations: 334.8 kB / 0.781 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.4378, allocations: 256.6 kB / 0.7812 GB, free: 4.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.4384, allocations: 333.5 kB / 0.7816 GB, free: 4.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4395, allocations: 0.5956 MB / 0.7821 GB, free: 3.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4395, allocations: 7.875 kB / 0.7822 GB, free: 3.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001243/0.4407, allocations: 0.6392 MB / 0.7828 GB, free: 3.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4408, allocations: 8 kB / 0.7828 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4408, allocations: 0 / 0.7828 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4408, allocations: 4 kB / 0.7828 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/0.4417, allocations: 152.1 kB / 0.7829 GB, free: 3.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.4417, allocations: 4 kB / 0.7829 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.4422, allocations: 51.92 kB / 0.783 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.4422, allocations: 16 kB / 0.783 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006009/0.4428, allocations: 358.4 kB / 0.7833 GB, free: 2.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005534/0.4434, allocations: 334.5 kB / 0.7837 GB, free: 2.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.4444, allocations: 0.5706 MB / 0.7842 GB, free: 1.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.4444, allocations: 0 / 0.7842 GB, free: 1.676 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001205/0.4456, allocations: 0.6144 MB / 0.7848 GB, free: 1.055 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4456, allocations: 6.781 kB / 0.7848 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.4456, allocations: 8 kB / 0.7848 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.4456, allocations: 4 kB / 0.7848 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.4465, allocations: 147.7 kB / 0.785 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4465, allocations: 4 kB / 0.785 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.4469, allocations: 51.92 kB / 0.785 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.447, allocations: 12 kB / 0.785 GB, free: 0.8281 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0001967/0.4471, allocations: 208.1 kB / 0.7852 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.4472, allocations: 23.84 kB / 0.7853 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4487, allocations: 0.6688 MB / 0.7859 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.4487, allocations: 8 kB / 0.7859 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4487, allocations: 4 kB / 0.7859 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4487, allocations: 3.984 kB / 0.7859 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.4511, allocations: 1.352 MB / 0.7873 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4511, allocations: 7.984 kB / 0.7873 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.4518, allocations: 124 kB / 0.7874 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.4518, allocations: 8 kB / 0.7874 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.4518, allocations: 8 kB / 0.7874 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.4518, allocations: 7.938 kB / 0.7874 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4518, allocations: 4 kB / 0.7874 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4529, allocations: 0.7163 MB / 0.7881 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4531, allocations: 144.9 kB / 0.7882 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.4532, allocations: 12 kB / 0.7883 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4535, allocations: 43.88 kB / 0.7883 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.4536, allocations: 23.97 kB / 0.7883 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4536, allocations: 12 kB / 0.7883 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001369/0.4538, allocations: 139.2 kB / 0.7885 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4538, allocations: 0 / 0.7885 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006959/0.4545, allocations: 155.8 kB / 0.7886 GB, free: 13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.0002259/0.4547, allocations: 143.1 kB / 0.7887 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.4563, allocations: 0.7863 MB / 0.7895 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4563, allocations: 0 / 0.7895 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004765/0.4568, allocations: 240.2 kB / 0.7897 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005368/0.4573, allocations: 48.41 kB / 0.7898 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4586, allocations: 0.7081 MB / 0.7905 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.459, allocations: 0.7799 MB / 0.7912 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004838/0.4595, allocations: 166.8 kB / 0.7914 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4597, allocations: 35.42 kB / 0.7914 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.4597, allocations: 0 / 0.7914 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.009632/0.4693, allocations: 4.911 MB / 0.7962 GB, free: 5.164 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)