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.00156/0.00156, allocations: 110.5 kB / 16.41 MB, free: 6.516 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.001644/0.001644, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002476/0.002476, allocations: 292.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 95.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4306, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004599/0.4352, allocations: 2.736 MB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.4387, allocations: 2.019 MB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.4388, allocations: 7.938 kB / 0.7717 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008442/0.4396, allocations: 231 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.4401, allocations: 203.2 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.4408, allocations: 273.2 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.4412, allocations: 319 kB / 0.7727 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.4415, allocations: 124.3 kB / 0.7728 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.4417, allocations: 127.6 kB / 0.7729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003128/0.442, allocations: 155.5 kB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.442, allocations: 16 kB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006221/0.4426, allocations: 387.3 kB / 0.7735 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.4428, allocations: 103.7 kB / 0.7736 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.4429, allocations: 111.5 kB / 0.7737 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.4435, allocations: 461.4 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4435, allocations: 4 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4435, allocations: 7.938 kB / 0.7741 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4435, allocations: 3.938 kB / 0.7741 GB, free: 12.68 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.001028/0.4446, allocations: 0.553 MB / 0.7747 GB, free: 12.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4446, allocations: 12.03 kB / 0.7747 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007941/0.4454, allocations: 112.6 kB / 0.7748 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.4458, allocations: 266.8 kB / 0.775 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.4458, allocations: 12.81 kB / 0.775 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.4459, allocations: 24.12 kB / 0.7751 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.4466, allocations: 385.9 kB / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4466, allocations: 0 / 0.7754 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.4466, allocations: 11.98 kB / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.4467, allocations: 23.97 kB / 0.7755 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.4474, allocations: 363.6 kB / 0.7758 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.4496, allocations: 1.73 MB / 0.7775 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.4503, allocations: 325 kB / 0.7778 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.4506, allocations: 182.8 kB / 0.778 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.4508, allocations: 89.09 kB / 0.7781 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4508, allocations: 42.5 kB / 0.7781 GB, free: 8.281 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.4508, allocations: 0 / 0.7781 GB, free: 8.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007697/0.4585, allocations: 1.907 MB / 0.78 GB, free: 6.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.4586, allocations: 89.11 kB / 0.7801 GB, free: 6.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4588, allocations: 184 kB / 0.7802 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.4588, allocations: 37.64 kB / 0.7803 GB, free: 6.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4589, allocations: 148.7 kB / 0.7804 GB, free: 5.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4591, allocations: 126.9 kB / 0.7805 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.4592, allocations: 77.64 kB / 0.7806 GB, free: 5.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4594, allocations: 330.8 kB / 0.7809 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005142/0.4599, allocations: 264.6 kB / 0.7812 GB, free: 5.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.4605, allocations: 333.5 kB / 0.7815 GB, free: 4.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4616, allocations: 0.5956 MB / 0.7821 GB, free: 4.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.4616, allocations: 3.938 kB / 0.7821 GB, free: 4.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001274/0.4629, allocations: 0.6394 MB / 0.7827 GB, free: 3.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.4629, allocations: 11.98 kB / 0.7827 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4629, allocations: 0 / 0.7827 GB, free: 3.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4629, allocations: 4 kB / 0.7827 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/0.4639, allocations: 147.7 kB / 0.7829 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4639, allocations: 4 kB / 0.7829 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.4643, allocations: 56.11 kB / 0.7829 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.4643, allocations: 19.98 kB / 0.7829 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006168/0.465, allocations: 358.4 kB / 0.7833 GB, free: 2.855 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005456/0.4655, allocations: 326.6 kB / 0.7836 GB, free: 2.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001029/0.4665, allocations: 0.5705 MB / 0.7841 GB, free: 1.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.4665, allocations: 0 / 0.7841 GB, free: 1.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001203/0.4677, allocations: 0.6183 MB / 0.7847 GB, free: 1.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4678, allocations: 10.66 kB / 0.7848 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4678, allocations: 0 / 0.7848 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.4678, allocations: 4 kB / 0.7848 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.4686, allocations: 148.1 kB / 0.7849 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4686, allocations: 4 kB / 0.7849 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.4691, allocations: 47.92 kB / 0.785 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.4691, allocations: 16 kB / 0.785 GB, free: 1.055 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.0001914/0.4693, allocations: 212 kB / 0.7852 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.4694, allocations: 23.84 kB / 0.7852 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.4708, allocations: 0.6611 MB / 0.7858 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4708, allocations: 4 kB / 0.7858 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.4708, allocations: 4 kB / 0.7858 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4708, allocations: 0 / 0.7858 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.4732, allocations: 1.368 MB / 0.7872 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.4732, allocations: 4 kB / 0.7872 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.4738, allocations: 115.8 kB / 0.7873 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4738, allocations: 4 kB / 0.7873 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.4739, allocations: 8 kB / 0.7873 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.4739, allocations: 20.09 kB / 0.7873 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4739, allocations: 8 kB / 0.7873 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.475, allocations: 0.7169 MB / 0.788 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.4752, allocations: 140.9 kB / 0.7882 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.4752, allocations: 11.94 kB / 0.7882 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.4756, allocations: 43.89 kB / 0.7882 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.4757, allocations: 31.91 kB / 0.7883 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.4757, allocations: 15.98 kB / 0.7883 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001322/0.4758, allocations: 139.2 kB / 0.7884 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4758, allocations: 0 / 0.7884 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006672/0.4765, allocations: 143.9 kB / 0.7885 GB, free: 13.23 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.0002286/0.4767, allocations: 139.1 kB / 0.7887 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.4783, allocations: 0.7903 MB / 0.7894 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4783, allocations: 4.188 kB / 0.7894 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.4788, allocations: 236.2 kB / 0.7897 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.4793, allocations: 47.67 kB / 0.7897 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4806, allocations: 0.7085 MB / 0.7904 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.481, allocations: 0.7838 MB / 0.7912 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004714/0.4815, allocations: 166.8 kB / 0.7913 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4816, allocations: 27.42 kB / 0.7914 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.4816, allocations: 0 / 0.7914 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.009298/0.4909, allocations: 4.923 MB / 0.7962 GB, free: 5.355 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)