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.001169/0.001169, allocations: 116.4 kB / 16.42 MB, free: 6.457 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.001139/0.001139, allocations: 186.7 kB / 17.35 MB, free: 5.703 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.316/1.316, 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.002188/0.002188, allocations: 294.7 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 0.9519/0.9519, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4122, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00432/0.4166, allocations: 2.729 MB / 0.7697 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003099/0.4197, allocations: 2.019 MB / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4199, allocations: 0 / 0.7717 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.4207, allocations: 235.1 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.4212, allocations: 199.1 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.4218, allocations: 271.3 kB / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.4223, allocations: 315 kB / 0.7727 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.4226, allocations: 158 kB / 0.7728 GB, free: 14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.4228, allocations: 123.6 kB / 0.7729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.4231, allocations: 155.4 kB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.4232, allocations: 20 kB / 0.7731 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.4238, allocations: 383.3 kB / 0.7735 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4239, allocations: 95.77 kB / 0.7736 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.424, allocations: 119.4 kB / 0.7737 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006168/0.4247, allocations: 468.9 kB / 0.7741 GB, free: 12.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4247, allocations: 0 / 0.7741 GB, free: 12.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4247, allocations: 0 / 0.7741 GB, free: 12.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4247, allocations: 0 / 0.7741 GB, free: 12.67 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.0008956/0.4256, allocations: 0.5524 MB / 0.7747 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4256, allocations: 8.031 kB / 0.7747 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.4264, allocations: 112.5 kB / 0.7748 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.4268, allocations: 268.9 kB / 0.775 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4268, allocations: 16.81 kB / 0.775 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.4269, allocations: 24.11 kB / 0.7751 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.4275, allocations: 385.9 kB / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4275, allocations: 0 / 0.7754 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.4276, allocations: 11.98 kB / 0.7754 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.4276, allocations: 27.97 kB / 0.7755 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.4283, allocations: 359.6 kB / 0.7758 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.4302, allocations: 1.718 MB / 0.7775 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.4309, allocations: 340.9 kB / 0.7778 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.4312, allocations: 193.6 kB / 0.778 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.4313, allocations: 89.09 kB / 0.7781 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4314, allocations: 30.56 kB / 0.7781 GB, free: 8.262 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.4314, allocations: 0 / 0.7781 GB, free: 8.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007515/0.4389, allocations: 1.912 MB / 0.78 GB, free: 6.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.439, allocations: 85.11 kB / 0.7801 GB, free: 6.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4391, allocations: 184 kB / 0.7802 GB, free: 6.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.4392, allocations: 29.7 kB / 0.7803 GB, free: 6.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.4393, allocations: 156.3 kB / 0.7804 GB, free: 5.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.4394, allocations: 122.3 kB / 0.7805 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4395, allocations: 77.59 kB / 0.7806 GB, free: 5.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4396, allocations: 334.8 kB / 0.7809 GB, free: 5.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.4401, allocations: 260.7 kB / 0.7812 GB, free: 5.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.4407, allocations: 321.5 kB / 0.7815 GB, free: 4.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.4417, allocations: 0.5995 MB / 0.7821 GB, free: 4.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4417, allocations: 4 kB / 0.7821 GB, free: 4.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001213/0.4429, allocations: 0.6392 MB / 0.7827 GB, free: 3.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.443, allocations: 7.984 kB / 0.7827 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.443, allocations: 4 kB / 0.7827 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.443, allocations: 7.938 kB / 0.7827 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.4439, allocations: 143.8 kB / 0.7829 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4439, allocations: 7.984 kB / 0.7829 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.4444, allocations: 52.12 kB / 0.7829 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4444, allocations: 15.98 kB / 0.7829 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005474/0.445, allocations: 362.4 kB / 0.7833 GB, free: 2.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005086/0.4455, allocations: 338.4 kB / 0.7836 GB, free: 2.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009825/0.4465, allocations: 0.5666 MB / 0.7841 GB, free: 1.887 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4465, allocations: 0 / 0.7841 GB, free: 1.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001119/0.4476, allocations: 0.6182 MB / 0.7847 GB, free: 1.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.4476, allocations: 4 kB / 0.7848 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4476, allocations: 4 kB / 0.7848 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.82e-06/0.4477, allocations: 4.281 kB / 0.7848 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/0.4485, allocations: 143.7 kB / 0.7849 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4485, allocations: 7.984 kB / 0.7849 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.4489, allocations: 51.94 kB / 0.785 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.449, allocations: 16 kB / 0.785 GB, free: 1.035 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.0001567/0.4491, allocations: 200.1 kB / 0.7852 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.4492, allocations: 19.81 kB / 0.7852 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.4505, allocations: 0.6688 MB / 0.7858 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4505, allocations: 0 / 0.7858 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4506, allocations: 0 / 0.7858 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.4507, allocations: 144.8 kB / 0.786 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/0.4508, allocations: 19.97 kB / 0.786 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.4512, allocations: 55.91 kB / 0.786 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.4513, allocations: 27.91 kB / 0.7861 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.4529, allocations: 0.7892 MB / 0.7868 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001107/0.454, allocations: 0.8145 MB / 0.7876 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004679/0.4545, allocations: 283.8 kB / 0.7879 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001153/0.4546, allocations: 135.2 kB / 0.788 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Backend: time 1.954e-06/0.4546, allocations: 0 / 0.788 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.4565, allocations: 0.8932 MB / 0.7889 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001022/0.4575, allocations: 0.9069 MB / 0.7898 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.01361/0.4712, allocations: 9.429 MB / 0.799 GB, free: 2.594 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)