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.001156/0.001156, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001137/0.001137, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.339/1.339, allocations: 222.9 MB / 241.1 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.002162/0.002162, allocations: 291.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 91.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4432, allocations: 86.97 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004279/0.4475, allocations: 2.744 MB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.4506, allocations: 2.01 MB / 0.7717 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.4508, allocations: 4 kB / 0.7717 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.4517, allocations: 231.1 kB / 0.7719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.4522, allocations: 195.1 kB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.4529, allocations: 282.7 kB / 0.7724 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.4533, allocations: 315.1 kB / 0.7727 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.4536, allocations: 154 kB / 0.7728 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.4538, allocations: 123.6 kB / 0.7729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.4542, allocations: 163.4 kB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.4542, allocations: 20 kB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.4548, allocations: 383.3 kB / 0.7735 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.455, allocations: 95.77 kB / 0.7736 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.4551, allocations: 111.4 kB / 0.7737 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.4557, allocations: 469.3 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4558, allocations: 0 / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4558, allocations: 4 kB / 0.7741 GB, free: 12.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.4558, allocations: 0 / 0.7741 GB, free: 12.7 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.0009558/0.4567, allocations: 0.5536 MB / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4568, allocations: 8.031 kB / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000835/0.4576, allocations: 112.5 kB / 0.7748 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.458, allocations: 268.4 kB / 0.775 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.458, allocations: 16.81 kB / 0.7751 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.4581, allocations: 20.12 kB / 0.7751 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.4587, allocations: 381.9 kB / 0.7754 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4587, allocations: 4 kB / 0.7754 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.4588, allocations: 8 kB / 0.7754 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/0.4588, allocations: 23.98 kB / 0.7755 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.4595, allocations: 363.6 kB / 0.7758 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.4614, allocations: 1.718 MB / 0.7775 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.4621, allocations: 344.9 kB / 0.7778 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.4624, allocations: 185.6 kB / 0.778 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.4626, allocations: 93.09 kB / 0.7781 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4626, allocations: 30.56 kB / 0.7781 GB, free: 8.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.644e-06/0.4626, allocations: 0 / 0.7781 GB, free: 8.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.00738/0.47, allocations: 1.912 MB / 0.78 GB, free: 6.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.47, allocations: 89.09 kB / 0.7801 GB, free: 6.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4702, allocations: 183.9 kB / 0.7802 GB, free: 6.078 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.4702, allocations: 29.7 kB / 0.7803 GB, free: 6.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.4703, allocations: 156.3 kB / 0.7804 GB, free: 5.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.174e-05/0.4704, allocations: 114.3 kB / 0.7805 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4706, allocations: 81.59 kB / 0.7806 GB, free: 5.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.4707, allocations: 330.8 kB / 0.7809 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.4712, allocations: 256.6 kB / 0.7812 GB, free: 5.102 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.4717, allocations: 329.5 kB / 0.7815 GB, free: 4.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.4727, allocations: 0.5995 MB / 0.7821 GB, free: 4.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4727, allocations: 0 / 0.7821 GB, free: 4.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001175/0.4739, allocations: 0.6432 MB / 0.7827 GB, free: 3.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4739, allocations: 4 kB / 0.7827 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4739, allocations: 4 kB / 0.7827 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.474, allocations: 7.938 kB / 0.7827 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.4749, allocations: 147.8 kB / 0.7829 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4749, allocations: 4 kB / 0.7829 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.4753, allocations: 51.92 kB / 0.7829 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.4754, allocations: 16.09 kB / 0.7829 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005431/0.4759, allocations: 362.4 kB / 0.7833 GB, free: 2.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004948/0.4764, allocations: 346.4 kB / 0.7836 GB, free: 2.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009321/0.4774, allocations: 0.5627 MB / 0.7842 GB, free: 1.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.4774, allocations: 0 / 0.7842 GB, free: 1.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001116/0.4785, allocations: 0.6182 MB / 0.7848 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.4785, allocations: 10.5 kB / 0.7848 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4785, allocations: 0 / 0.7848 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.4786, allocations: 8 kB / 0.7848 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.4794, allocations: 144 kB / 0.7849 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4795, allocations: 4 kB / 0.7849 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.4799, allocations: 51.92 kB / 0.785 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.4799, allocations: 16 kB / 0.785 GB, free: 1.066 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.0001416/0.4801, allocations: 204.1 kB / 0.7852 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.4801, allocations: 15.81 kB / 0.7852 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.4815, allocations: 0.6688 MB / 0.7858 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4815, allocations: 3.984 kB / 0.7858 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4815, allocations: 0 / 0.7858 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.4817, allocations: 140.8 kB / 0.786 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.4818, allocations: 12.05 kB / 0.786 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.4822, allocations: 59.86 kB / 0.786 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.4823, allocations: 23.91 kB / 0.7861 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001539/0.4838, allocations: 0.7853 MB / 0.7868 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001075/0.4849, allocations: 0.8145 MB / 0.7876 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004594/0.4854, allocations: 283.8 kB / 0.7879 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001126/0.4855, allocations: 139.2 kB / 0.788 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/0.4855, allocations: 4 kB / 0.788 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.4875, allocations: 0.8897 MB / 0.7889 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001014/0.4885, allocations: 0.9072 MB / 0.7898 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01398/0.5025, allocations: 9.434 MB / 0.799 GB, free: 2.621 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)