Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 194.3 kB / 16.14 MB, free: 6.66 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.88 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3675, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004403/0.3719, allocations: 2.8 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.3752, allocations: 2.115 MB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3754, allocations: 11.88 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.3762, allocations: 215.3 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.3767, allocations: 199.3 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.3773, allocations: 238.6 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.3777, allocations: 470.5 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3781, allocations: 146 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3783, allocations: 103.6 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.3786, allocations: 159.4 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.3787, allocations: 20 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007773/0.3795, allocations: 479.1 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.3796, allocations: 87.75 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3797, allocations: 115.4 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.3804, allocations: 490.9 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3804, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3804, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3804, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 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.3814, allocations: 0.5667 MB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3815, allocations: 12.03 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009741/0.3825, allocations: 128.5 kB / 1.076 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3828, allocations: 262.6 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3828, allocations: 16.81 kB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/0.3829, allocations: 24.11 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.3836, allocations: 389.9 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3836, allocations: 0 / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.3836, allocations: 11.98 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/0.3837, allocations: 23.98 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.3844, allocations: 379.6 kB / 1.077 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.3865, allocations: 1.738 MB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.3872, allocations: 356.9 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.3875, allocations: 189.6 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.3877, allocations: 89.09 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3877, allocations: 34.56 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.3877, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.009107/0.3969, allocations: 2.052 MB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/0.397, allocations: 89.05 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.3972, allocations: 183.5 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.3973, allocations: 29.7 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3974, allocations: 152.3 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3975, allocations: 122.3 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3977, allocations: 73.69 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3978, allocations: 334.8 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.3984, allocations: 268.6 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/0.3991, allocations: 353.5 kB / 1.083 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4003, allocations: 0.6228 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4003, allocations: 3.938 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001408/0.4017, allocations: 0.6589 MB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4017, allocations: 10.5 kB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4017, allocations: 0 / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4018, allocations: 8 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/0.4028, allocations: 156 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.4028, allocations: 7.938 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.4033, allocations: 55.92 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.4033, allocations: 15.98 kB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006671/0.404, allocations: 372 kB / 1.084 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005896/0.4046, allocations: 341.1 kB / 1.085 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.4058, allocations: 0.59 MB / 1.085 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.4058, allocations: 4 kB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0014/0.4072, allocations: 0.6416 MB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4072, allocations: 8 kB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4072, allocations: 0 / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.4072, allocations: 4 kB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/0.4082, allocations: 148 kB / 1.086 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.4082, allocations: 8 kB / 1.086 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4087, allocations: 51.92 kB / 1.086 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.4088, allocations: 19.98 kB / 1.086 GB, free: 7.293 MB / 0.8419 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.0002033/0.409, allocations: 208.7 kB / 1.086 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/0.4091, allocations: 15.81 kB / 1.086 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.4106, allocations: 0.6842 MB / 1.087 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4106, allocations: 4 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.4106, allocations: 3.938 kB / 1.087 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4106, allocations: 3.984 kB / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.413, allocations: 1.367 MB / 1.088 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.413, allocations: 8 kB / 1.088 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.4136, allocations: 115.8 kB / 1.088 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.4136, allocations: 4 kB / 1.089 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.4136, allocations: 15.98 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.4136, allocations: 7.938 kB / 1.089 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4136, allocations: 0 / 1.089 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4147, allocations: 0.7172 MB / 1.089 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.4149, allocations: 140.8 kB / 1.089 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.4149, allocations: 11.94 kB / 1.089 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.4153, allocations: 47.88 kB / 1.089 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.4154, allocations: 31.91 kB / 1.089 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4155, allocations: 12 kB / 1.089 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001882/0.4157, allocations: 151.2 kB / 1.09 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4157, allocations: 3.938 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007397/0.4164, allocations: 144 kB / 1.09 GB, free: 3.445 MB / 0.8419 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.0002766/0.4167, allocations: 139.2 kB / 1.09 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.4186, allocations: 0.8687 MB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4186, allocations: 0 / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.4191, allocations: 256.4 kB / 1.091 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.4196, allocations: 44.61 kB / 1.091 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.421, allocations: 0.7988 MB / 1.092 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4214, allocations: 0.7838 MB / 1.093 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006124/0.422, allocations: 178.8 kB / 1.093 GB, free: 304 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4222, allocations: 35.42 kB / 1.093 GB, free: 268 kB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4222, allocations: 3.938 kB / 1.093 GB, free: 264 kB / 0.8419 GB Notification: Performance of Templates: time 0.009831/0.432, allocations: 4.935 MB / 1.098 GB, free: 11.34 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)