Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001497/0.001497, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.31 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3589, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005207/0.3641, allocations: 2.732 MB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.3679, allocations: 2.095 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.3681, allocations: 4 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.3691, allocations: 231.1 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.3698, allocations: 215.1 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.3706, allocations: 275.2 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004818/0.3711, allocations: 330.8 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.3715, allocations: 150 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3718, allocations: 127.6 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.3723, allocations: 155.5 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.3723, allocations: 20 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.3732, allocations: 419.2 kB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3733, allocations: 91.78 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3735, allocations: 115.4 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.3743, allocations: 487 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3743, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3743, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3743, allocations: 0 / 1.075 GB, free: 3.051 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.001053/0.3753, allocations: 0.5653 MB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3754, allocations: 8.031 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.3764, allocations: 132.4 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3767, allocations: 253.4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3768, allocations: 20.8 kB / 1.076 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.3768, allocations: 24.12 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008144/0.3777, allocations: 393.9 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3777, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.3777, allocations: 4 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/0.3778, allocations: 31.98 kB / 1.077 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.3785, allocations: 379.6 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.3807, allocations: 1.734 MB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007985/0.3815, allocations: 356.9 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.3819, allocations: 188.5 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.382, allocations: 101.1 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3821, allocations: 34.56 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.3821, allocations: 3.938 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.009066/0.3911, allocations: 2.05 MB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3912, allocations: 81.11 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3914, allocations: 178.7 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.3915, allocations: 33.7 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3916, allocations: 148.3 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3918, allocations: 118.3 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.3919, allocations: 77.67 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3921, allocations: 338.8 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.3926, allocations: 264.6 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.3933, allocations: 349.4 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3945, allocations: 0.619 MB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3945, allocations: 3.938 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001419/0.3959, allocations: 0.6628 MB / 1.084 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.396, allocations: 7.938 kB / 1.084 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.396, allocations: 4 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.213e-05/0.3961, allocations: 8.281 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000971/0.397, allocations: 151.8 kB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.3971, allocations: 11.92 kB / 1.084 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.3976, allocations: 55.92 kB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.3976, allocations: 12 kB / 1.085 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006584/0.3983, allocations: 379.9 kB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006082/0.3989, allocations: 329.2 kB / 1.085 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/0.4001, allocations: 0.6017 MB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.4002, allocations: 0 / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001436/0.4016, allocations: 0.6455 MB / 1.086 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4016, allocations: 5.562 kB / 1.086 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4016, allocations: 4 kB / 1.086 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.4017, allocations: 4 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.4026, allocations: 152 kB / 1.087 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4027, allocations: 4 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.4031, allocations: 55.92 kB / 1.087 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.4032, allocations: 15.98 kB / 1.087 GB, free: 7.023 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.0001913/0.4034, allocations: 208 kB / 1.087 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.4035, allocations: 19.81 kB / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.405, allocations: 0.6803 MB / 1.088 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.405, allocations: 4 kB / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.405, allocations: 0 / 1.088 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.405, allocations: 3.984 kB / 1.088 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.4074, allocations: 1.376 MB / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4074, allocations: 0 / 1.089 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.408, allocations: 115.8 kB / 1.089 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.408, allocations: 4 kB / 1.089 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.408, allocations: 8 kB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.4081, allocations: 11.92 kB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4081, allocations: 8.25 kB / 1.089 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4091, allocations: 0.7162 MB / 1.09 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4093, allocations: 140.8 kB / 1.09 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.4094, allocations: 11.94 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.4098, allocations: 43.83 kB / 1.09 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.4099, allocations: 35.89 kB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.4099, allocations: 12 kB / 1.09 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001841/0.4101, allocations: 151.8 kB / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4101, allocations: 0 / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007257/0.4108, allocations: 148 kB / 1.09 GB, free: 3.176 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.0002507/0.4111, allocations: 143.2 kB / 1.09 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.4131, allocations: 0.9144 MB / 1.091 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4131, allocations: 0 / 1.091 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.4136, allocations: 256.3 kB / 1.091 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.4141, allocations: 46.3 kB / 1.092 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4155, allocations: 0.7046 MB / 1.092 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4159, allocations: 0.7877 MB / 1.093 GB, free: 256 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005988/0.4165, allocations: 178.8 kB / 1.093 GB, free: 72 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.4167, allocations: 31.42 kB / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of SimCode: time 2.635e-06/0.4167, allocations: 0 / 1.093 GB, free: 40 kB / 0.8419 GB Notification: Performance of Templates: time 0.01066/0.4274, allocations: 5.201 MB / 1.098 GB, free: 10.86 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)