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.001349/0.001349, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001294/0.001294, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.387/1.387, 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.002227/0.002227, allocations: 283.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003125/0.003125, allocations: 87.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4493, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.00439/0.4537, allocations: 2.805 MB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.4569, allocations: 2.018 MB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.4571, allocations: 7.938 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.4579, allocations: 237.1 kB / 0.772 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.4584, allocations: 187.2 kB / 0.7722 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.4591, allocations: 275.2 kB / 0.7724 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.4595, allocations: 315.1 kB / 0.7727 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.4599, allocations: 161.9 kB / 0.7729 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.4601, allocations: 123.6 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.4604, allocations: 155.5 kB / 0.7731 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.4605, allocations: 20 kB / 0.7732 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.4611, allocations: 383.3 kB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.4612, allocations: 95.77 kB / 0.7736 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.4613, allocations: 111.4 kB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.462, allocations: 469.3 kB / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.462, allocations: 0 / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.462, allocations: 0 / 0.7742 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.462, allocations: 0 / 0.7742 GB, free: 12.57 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.0009936/0.463, allocations: 0.5576 MB / 0.7747 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4631, allocations: 8.031 kB / 0.7747 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.4639, allocations: 112.5 kB / 0.7748 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.4642, allocations: 264.4 kB / 0.7751 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4642, allocations: 16.81 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.4643, allocations: 20.12 kB / 0.7751 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.4649, allocations: 385.9 kB / 0.7755 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.465, allocations: 4 kB / 0.7755 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.465, allocations: 7.984 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.4651, allocations: 31.97 kB / 0.7755 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.4657, allocations: 359.6 kB / 0.7759 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.4677, allocations: 1.722 MB / 0.7776 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/0.4684, allocations: 344.8 kB / 0.7779 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.4687, allocations: 185.6 kB / 0.7781 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.4689, allocations: 93.09 kB / 0.7782 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4689, allocations: 34.56 kB / 0.7782 GB, free: 8.148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.804e-06/0.4689, allocations: 4 kB / 0.7782 GB, free: 8.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007587/0.4765, allocations: 1.909 MB / 0.7801 GB, free: 6.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.4766, allocations: 85.05 kB / 0.7801 GB, free: 6.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4768, allocations: 180 kB / 0.7803 GB, free: 5.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.4768, allocations: 33.7 kB / 0.7803 GB, free: 5.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4769, allocations: 148.3 kB / 0.7805 GB, free: 5.754 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4771, allocations: 122.3 kB / 0.7806 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4772, allocations: 77.59 kB / 0.7807 GB, free: 5.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4773, allocations: 334.8 kB / 0.781 GB, free: 5.215 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.4778, allocations: 256.7 kB / 0.7812 GB, free: 4.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.4784, allocations: 329.5 kB / 0.7815 GB, free: 4.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4794, allocations: 0.5995 MB / 0.7821 GB, free: 3.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4794, allocations: 3.938 kB / 0.7821 GB, free: 3.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001218/0.4807, allocations: 0.6353 MB / 0.7828 GB, free: 3.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4807, allocations: 4 kB / 0.7828 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4807, allocations: 4 kB / 0.7828 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4807, allocations: 4.281 kB / 0.7828 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.4816, allocations: 151.8 kB / 0.7829 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.4817, allocations: 4 kB / 0.7829 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.4821, allocations: 55.92 kB / 0.783 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.4822, allocations: 15.94 kB / 0.783 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006124/0.4828, allocations: 358.4 kB / 0.7833 GB, free: 2.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005519/0.4834, allocations: 334.5 kB / 0.7836 GB, free: 2.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/0.4844, allocations: 0.5666 MB / 0.7842 GB, free: 1.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.4844, allocations: 7.984 kB / 0.7842 GB, free: 1.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001169/0.4856, allocations: 0.6144 MB / 0.7848 GB, free: 1.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4856, allocations: 4 kB / 0.7848 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4856, allocations: 7.938 kB / 0.7848 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/0.4856, allocations: 4 kB / 0.7848 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.4865, allocations: 147.8 kB / 0.785 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4865, allocations: 4 kB / 0.785 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.4869, allocations: 48.09 kB / 0.785 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.487, allocations: 19.98 kB / 0.785 GB, free: 0.9297 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.0001613/0.4871, allocations: 204.1 kB / 0.7852 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.4872, allocations: 19.81 kB / 0.7852 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.4886, allocations: 0.6726 MB / 0.7859 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.4886, allocations: 4 kB / 0.7859 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4886, allocations: 0 / 0.7859 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4886, allocations: 3.984 kB / 0.7859 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.4909, allocations: 1.356 MB / 0.7872 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.491, allocations: 4.188 kB / 0.7872 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.4916, allocations: 127.8 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.4916, allocations: 4 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.4916, allocations: 8 kB / 0.7874 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.4916, allocations: 7.938 kB / 0.7874 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4916, allocations: 4 kB / 0.7874 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.4927, allocations: 0.7162 MB / 0.7881 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.4929, allocations: 144.7 kB / 0.7882 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.493, allocations: 8.047 kB / 0.7882 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.4933, allocations: 47.86 kB / 0.7883 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.4934, allocations: 23.97 kB / 0.7883 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.4935, allocations: 15.94 kB / 0.7883 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001356/0.4936, allocations: 147.2 kB / 0.7885 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4936, allocations: 3.938 kB / 0.7885 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006933/0.4943, allocations: 148 kB / 0.7886 GB, free: 13.11 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.0002277/0.4945, allocations: 137.8 kB / 0.7887 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.4962, allocations: 0.8444 MB / 0.7896 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4962, allocations: 0 / 0.7896 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.4967, allocations: 253.2 kB / 0.7898 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.4973, allocations: 52.78 kB / 0.7898 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4986, allocations: 0.7337 MB / 0.7906 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.499, allocations: 0.7838 MB / 0.7913 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.4992, allocations: 39.42 kB / 0.7914 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.4992, allocations: 0 / 0.7914 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.007842/0.507, allocations: 4.801 MB / 0.7961 GB, free: 5.41 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)