Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005027/0.005027, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001046/0.001046, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 278.4 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9313/0.9313, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1445, allocations: 86.98 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003683/0.1483, allocations: 2.738 MB / 0.7691 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.151, allocations: 2.015 MB / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1511, allocations: 4 kB / 0.771 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.1518, allocations: 235.1 kB / 0.7713 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.1522, allocations: 195.2 kB / 0.7714 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1528, allocations: 279.2 kB / 0.7717 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.1531, allocations: 307.1 kB / 0.772 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.1534, allocations: 158 kB / 0.7721 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1535, allocations: 123.5 kB / 0.7723 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.1538, allocations: 163.4 kB / 0.7724 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1538, allocations: 20 kB / 0.7724 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.1543, allocations: 383.3 kB / 0.7728 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.1544, allocations: 91.77 kB / 0.7729 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1545, allocations: 115.5 kB / 0.773 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.1551, allocations: 466.7 kB / 0.7734 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1551, allocations: 0 / 0.7734 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1551, allocations: 0 / 0.7734 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1551, allocations: 0 / 0.7734 GB, free: 1.148 MB / 0.5606 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.0007823/0.1559, allocations: 0.5614 MB / 0.774 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.1559, allocations: 8.031 kB / 0.774 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.1566, allocations: 108.5 kB / 0.7741 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.1569, allocations: 262.9 kB / 0.7744 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.157, allocations: 12.81 kB / 0.7744 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.157, allocations: 24.12 kB / 0.7744 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2974/0.4544, allocations: 381.1 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4545, allocations: 1.656 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.4545, allocations: 9.172 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.4546, allocations: 27.97 kB / 0.7748 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.4553, allocations: 357.6 kB / 0.7751 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.457, allocations: 1.725 MB / 0.7768 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.4577, allocations: 342.3 kB / 0.7771 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.4579, allocations: 183.6 kB / 0.7773 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.4581, allocations: 92.7 kB / 0.7774 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4581, allocations: 33.62 kB / 0.7774 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.4581, allocations: 0.8438 kB / 0.7774 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.006731/0.4649, allocations: 1.913 MB / 0.7793 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.4649, allocations: 88.31 kB / 0.7794 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.465, allocations: 190.8 kB / 0.7796 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4651, allocations: 31.02 kB / 0.7796 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.4651, allocations: 147.1 kB / 0.7797 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.4652, allocations: 119.8 kB / 0.7799 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.4653, allocations: 78.98 kB / 0.7799 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.4654, allocations: 331.6 kB / 0.7803 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.4658, allocations: 258.9 kB / 0.7805 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.4663, allocations: 330.2 kB / 0.7808 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.4671, allocations: 0.6011 MB / 0.7814 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4671, allocations: 0.9375 kB / 0.7814 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001032/0.4682, allocations: 0.6319 MB / 0.782 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4682, allocations: 5.75 kB / 0.782 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4682, allocations: 5.875 kB / 0.782 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4682, allocations: 7.688 kB / 0.782 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.4691, allocations: 146.9 kB / 0.7822 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4691, allocations: 4.781 kB / 0.7822 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.4695, allocations: 52.2 kB / 0.7822 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.4695, allocations: 11.91 kB / 0.7822 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004759/0.47, allocations: 367 kB / 0.7826 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004309/0.4704, allocations: 324 kB / 0.7829 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008308/0.4713, allocations: 0.5763 MB / 0.7835 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.4713, allocations: 4.219 kB / 0.7835 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009612/0.4722, allocations: 0.6157 MB / 0.7841 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.4723, allocations: 4.594 kB / 0.7841 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4723, allocations: 2.906 kB / 0.7841 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.4723, allocations: 8.062 kB / 0.7841 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.473, allocations: 144.3 kB / 0.7842 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.473, allocations: 6.203 kB / 0.7842 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.4734, allocations: 53.58 kB / 0.7843 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.4734, allocations: 13.72 kB / 0.7843 GB, free: 10.61 MB / 0.5606 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 9.721e-05/0.4735, allocations: 206.8 kB / 0.7845 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.4736, allocations: 23.16 kB / 0.7845 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4748, allocations: 0.6635 MB / 0.7852 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4748, allocations: 4.594 kB / 0.7852 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4748, allocations: 2.328 kB / 0.7852 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4748, allocations: 1.875 kB / 0.7852 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4767, allocations: 1.359 MB / 0.7865 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4767, allocations: 2.969 kB / 0.7865 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/0.4773, allocations: 123.4 kB / 0.7866 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4773, allocations: 6.172 kB / 0.7866 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.4774, allocations: 14.03 kB / 0.7866 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4774, allocations: 10.23 kB / 0.7866 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4774, allocations: 0 / 0.7866 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008275/0.4782, allocations: 0.7263 MB / 0.7874 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4783, allocations: 140.4 kB / 0.7875 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4784, allocations: 11.48 kB / 0.7875 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.4787, allocations: 39.06 kB / 0.7875 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.4788, allocations: 25 kB / 0.7876 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4788, allocations: 19.44 kB / 0.7876 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.687e-05/0.4789, allocations: 152 kB / 0.7877 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4789, allocations: 0 / 0.7877 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006014/0.4796, allocations: 145 kB / 0.7879 GB, free: 8.566 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.0001635/0.4797, allocations: 136 kB / 0.788 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.4812, allocations: 0.8418 MB / 0.7888 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4812, allocations: 1.125 kB / 0.7888 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/0.4816, allocations: 259.1 kB / 0.7891 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.4821, allocations: 45.59 kB / 0.7891 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.4831, allocations: 0.6999 MB / 0.7898 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.4833, allocations: 0.7826 MB / 0.7906 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.4837, allocations: 173.6 kB / 0.7907 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4839, allocations: 33.39 kB / 0.7908 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4839, allocations: 3.938 kB / 0.7908 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.009152/0.493, allocations: 4.888 MB / 0.7955 GB, free: 6.688 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)