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.ACDCConverter.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.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008459/0.000846, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008098/0.008098, allocations: 172.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.725/1.725, allocations: 252 MB / 0.5105 GB, free: 4.699 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.0005607/0.0005607, allocations: 19.97 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5511, allocations: 106.3 MB / 0.7287 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004512/0.5556, allocations: 3.019 MB / 0.7317 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003926/0.5596, allocations: 2.183 MB / 0.7338 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.5599, allocations: 7.938 kB / 0.7338 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.5602, allocations: 35.7 kB / 0.7339 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.5609, allocations: 231.1 kB / 0.7341 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.5618, allocations: 259.4 kB / 0.7343 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008037/0.5626, allocations: 0.5298 MB / 0.7348 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000703/0.5633, allocations: 331.3 kB / 0.7352 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.5637, allocations: 123.5 kB / 0.7353 GB, free: 4.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.564, allocations: 179.3 kB / 0.7354 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.5641, allocations: 12 kB / 0.7355 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008269/0.5649, allocations: 0.499 MB / 0.7359 GB, free: 4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.565, allocations: 83.72 kB / 0.736 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.5652, allocations: 153 kB / 0.7362 GB, free: 3.762 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.5658, allocations: 0.514 MB / 0.7367 GB, free: 3.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5658, allocations: 7.938 kB / 0.7367 GB, free: 3.238 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5658, allocations: 0 / 0.7367 GB, free: 3.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.495e-06/0.5659, allocations: 4 kB / 0.7367 GB, free: 3.234 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000904/0.5668, allocations: 0.5536 MB / 0.7372 GB, free: 2.633 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5668, allocations: 8.031 kB / 0.7372 GB, free: 2.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.5677, allocations: 136.4 kB / 0.7374 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.568, allocations: 263.7 kB / 0.7376 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.568, allocations: 20.8 kB / 0.7376 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.5681, allocations: 20.38 kB / 0.7377 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.5688, allocations: 423.9 kB / 0.7381 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5688, allocations: 0 / 0.7381 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.5688, allocations: 15.92 kB / 0.7381 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.5689, allocations: 36.53 kB / 0.7381 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.5695, allocations: 361.9 kB / 0.7385 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.5719, allocations: 2.058 MB / 0.7405 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/0.5727, allocations: 357.1 kB / 0.7408 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.5731, allocations: 193.6 kB / 0.741 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.5733, allocations: 93.03 kB / 0.7411 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5733, allocations: 38.56 kB / 0.7411 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.5733, allocations: 0 / 0.7411 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.005229/0.5785, allocations: 1.756 MB / 0.7428 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5786, allocations: 85.05 kB / 0.7429 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.5788, allocations: 236.8 kB / 0.7431 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.5789, allocations: 33.7 kB / 0.7432 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.579, allocations: 176.1 kB / 0.7433 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5791, allocations: 118.3 kB / 0.7434 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.5792, allocations: 45.69 kB / 0.7435 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5793, allocations: 342.8 kB / 0.7438 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.5797, allocations: 196.8 kB / 0.744 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.5802, allocations: 321 kB / 0.7443 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.5811, allocations: 0.5275 MB / 0.7448 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5811, allocations: 0 / 0.7448 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001245/0.5823, allocations: 0.672 MB / 0.7455 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5824, allocations: 180.3 kB / 0.7457 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5825, allocations: 4 kB / 0.7457 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004922/0.583, allocations: 155.3 kB / 0.7458 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.5834, allocations: 91.88 kB / 0.7459 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.586, allocations: 3.95 MB / 0.7498 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.5864, allocations: 48.2 kB / 0.7498 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.5864, allocations: 16 kB / 0.7498 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.5864, allocations: 4 kB / 0.7498 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001234/0.5877, allocations: 0.6239 MB / 0.7504 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5877, allocations: 4 kB / 0.7504 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.5881, allocations: 143.3 kB / 0.7506 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.5885, allocations: 104 kB / 0.7507 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006346/0.5891, allocations: 1.101 MB / 0.7517 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.5894, allocations: 47.86 kB / 0.7518 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.5895, allocations: 20 kB / 0.7518 GB, free: 2.738 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.5897, allocations: 245 kB / 0.752 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.5898, allocations: 23.72 kB / 0.7521 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.591, allocations: 0.6362 MB / 0.7527 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.591, allocations: 7.984 kB / 0.7527 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.591, allocations: 7.984 kB / 0.7527 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5911, allocations: 0 / 0.7527 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.5932, allocations: 1.346 MB / 0.754 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.5932, allocations: 4 kB / 0.754 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.5935, allocations: 67.89 kB / 0.7541 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.5939, allocations: 155.5 kB / 0.7542 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.594, allocations: 8 kB / 0.7542 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.5969, allocations: 3.977 MB / 0.7581 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5969, allocations: 4.219 kB / 0.7581 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.5982, allocations: 0.7851 MB / 0.7589 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.5984, allocations: 148.6 kB / 0.759 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.5985, allocations: 11.98 kB / 0.759 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.5988, allocations: 39.91 kB / 0.7591 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5989, allocations: 31.95 kB / 0.7591 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.5989, allocations: 12 kB / 0.7591 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001977/0.5991, allocations: 168.5 kB / 0.7593 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5992, allocations: 0 / 0.7593 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008356/0.6, allocations: 160 kB / 0.7594 GB, free: 10.38 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.6003, allocations: 143.1 kB / 0.7596 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.6024, allocations: 1.201 MB / 0.7607 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6025, allocations: 4.125 kB / 0.7608 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000773/0.6032, allocations: 493.7 kB / 0.7612 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.6039, allocations: 52.41 kB / 0.7613 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.6053, allocations: 0.898 MB / 0.7622 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.6058, allocations: 0.8045 MB / 0.7629 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003864/0.6062, allocations: 114.9 kB / 0.763 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.6063, allocations: 27.44 kB / 0.7631 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6063, allocations: 0 / 0.7631 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of Templates: time 0.01179/0.6181, allocations: 5.645 MB / 0.7686 GB, free: 0.8672 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: