Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.001453/0.001454, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001758/0.001758, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009607/0.000961, allocations: 16 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.6528, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003454/0.6564, allocations: 2.318 MB / 0.7302 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.6594, allocations: 1.884 MB / 0.7321 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.6595, allocations: 0 / 0.7321 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.6597, allocations: 31.77 kB / 0.7321 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.6602, allocations: 123.6 kB / 0.7322 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.6608, allocations: 200.6 kB / 0.7324 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.6611, allocations: 175.6 kB / 0.7326 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.6617, allocations: 358.4 kB / 0.7329 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.6619, allocations: 79.75 kB / 0.733 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.6621, allocations: 103.6 kB / 0.7331 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.6622, allocations: 8 kB / 0.7331 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.6626, allocations: 251.6 kB / 0.7334 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.239e-05/0.6627, allocations: 79.78 kB / 0.7334 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.6628, allocations: 65.58 kB / 0.7335 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.6632, allocations: 333.2 kB / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6632, allocations: 0 / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6632, allocations: 0 / 0.7338 GB, free: 5.441 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.6632, allocations: 0 / 0.7338 GB, free: 5.441 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.0009178/0.6642, allocations: 0.5145 MB / 0.7343 GB, free: 4.875 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6642, allocations: 8.031 kB / 0.7343 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.665, allocations: 127.5 kB / 0.7344 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.6654, allocations: 257.8 kB / 0.7347 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.6655, allocations: 12.44 kB / 0.7347 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.6655, allocations: 19.98 kB / 0.7347 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006993/0.6662, allocations: 389.9 kB / 0.7351 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.6663, allocations: 3.938 kB / 0.7351 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.6663, allocations: 11.98 kB / 0.7351 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.6664, allocations: 27.94 kB / 0.7351 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006768/0.6671, allocations: 379.4 kB / 0.7355 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.6693, allocations: 1.726 MB / 0.7372 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.67, allocations: 348.9 kB / 0.7375 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.6702, allocations: 89.09 kB / 0.7376 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.6703, allocations: 34.56 kB / 0.7376 GB, free: 1.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.6703, allocations: 4 kB / 0.7376 GB, free: 1.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007299/0.6776, allocations: 2.059 MB / 0.7396 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.6777, allocations: 85.05 kB / 0.7397 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.6779, allocations: 187.4 kB / 0.7399 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.678, allocations: 29.7 kB / 0.7399 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6781, allocations: 148.4 kB / 0.7401 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.6782, allocations: 126.2 kB / 0.7402 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.6782, allocations: 4 kB / 0.7402 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6784, allocations: 338.8 kB / 0.7405 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004509/0.6788, allocations: 255.8 kB / 0.7408 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.6793, allocations: 337.5 kB / 0.7411 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.6798, allocations: 293.2 kB / 0.7414 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6799, allocations: 0 / 0.7414 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001159/0.681, allocations: 0.6578 MB / 0.742 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004391/0.6815, allocations: 0.8808 MB / 0.7429 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6815, allocations: 7.938 kB / 0.7429 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6815, allocations: 4 kB / 0.7429 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.6824, allocations: 159.7 kB / 0.743 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.6824, allocations: 4 kB / 0.743 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.6828, allocations: 55.92 kB / 0.7431 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.6829, allocations: 19.98 kB / 0.7431 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.6829, allocations: 4 kB / 0.7431 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001109/0.684, allocations: 0.5892 MB / 0.7437 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.684, allocations: 0 / 0.7437 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.684, allocations: 8 kB / 0.7437 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.6848, allocations: 152 kB / 0.7438 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6849, allocations: 4 kB / 0.7438 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.6852, allocations: 55.92 kB / 0.7439 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.6853, allocations: 16 kB / 0.7439 GB, free: 10.62 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000269/0.6855, allocations: 245 kB / 0.7441 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6856, allocations: 23.72 kB / 0.7442 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.687, allocations: 0.6806 MB / 0.7448 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.687, allocations: 11.95 kB / 0.7448 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.687, allocations: 0 / 0.7448 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6871, allocations: 12.02 kB / 0.7449 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.6893, allocations: 1.384 MB / 0.7462 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6893, allocations: 0 / 0.7462 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.6899, allocations: 127.8 kB / 0.7463 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.6899, allocations: 4 kB / 0.7463 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.69, allocations: 12 kB / 0.7463 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.69, allocations: 4 kB / 0.7464 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.69, allocations: 4.125 kB / 0.7464 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.6911, allocations: 0.8217 MB / 0.7472 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.6913, allocations: 144.8 kB / 0.7473 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.6914, allocations: 16 kB / 0.7473 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6917, allocations: 43.94 kB / 0.7474 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.6918, allocations: 31.86 kB / 0.7474 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.6918, allocations: 8 kB / 0.7474 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001521/0.692, allocations: 147.8 kB / 0.7475 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.692, allocations: 7.938 kB / 0.7475 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000686/0.6927, allocations: 140 kB / 0.7477 GB, free: 6.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002526/0.693, allocations: 135.1 kB / 0.7478 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.6945, allocations: 0.8718 MB / 0.7487 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6946, allocations: 0 / 0.7487 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.695, allocations: 272.6 kB / 0.7489 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.6954, allocations: 39.19 kB / 0.749 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6967, allocations: 0.824 MB / 0.7498 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.6971, allocations: 0.7965 MB / 0.7505 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.6976, allocations: 166.8 kB / 0.7507 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6977, allocations: 35.42 kB / 0.7507 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.6978, allocations: 4 kB / 0.7507 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.008417/0.7062, allocations: 4.359 MB / 0.755 GB, free: 14.99 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: