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.001025/0.001025, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001375/0.001375, allocations: 172.7 kB / 15.95 MB, free: 208 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.719/1.719, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.568/1.568, allocations: 252 MB / 0.5102 GB, free: 4.789 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.000761/0.0007611, allocations: 12 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6368, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003989/0.6408, allocations: 2.914 MB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.6438, allocations: 2.048 MB / 0.733 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.644, allocations: 3.938 kB / 0.733 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.6442, allocations: 39.7 kB / 0.733 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.6447, allocations: 171.2 kB / 0.7332 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.6454, allocations: 214 kB / 0.7334 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.6459, allocations: 446.5 kB / 0.7338 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005105/0.6464, allocations: 319.4 kB / 0.7341 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.6466, allocations: 123.5 kB / 0.7342 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.6469, allocations: 171.4 kB / 0.7344 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.647, allocations: 8 kB / 0.7344 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.6474, allocations: 267.6 kB / 0.7347 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.6475, allocations: 87.77 kB / 0.7347 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.6476, allocations: 73.52 kB / 0.7348 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.648, allocations: 379.1 kB / 0.7352 GB, free: 4.109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.648, allocations: 0 / 0.7352 GB, free: 4.109 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6481, allocations: 0 / 0.7352 GB, free: 4.109 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6481, allocations: 0 / 0.7352 GB, free: 4.109 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.0009053/0.649, allocations: 0.5612 MB / 0.7357 GB, free: 3.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.649, allocations: 16.02 kB / 0.7357 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.6498, allocations: 123.5 kB / 0.7359 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.6502, allocations: 270.5 kB / 0.7361 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6502, allocations: 16.44 kB / 0.7361 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.6503, allocations: 19.98 kB / 0.7362 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.6509, allocations: 423.5 kB / 0.7366 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6509, allocations: 0 / 0.7366 GB, free: 2.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.651, allocations: 15.98 kB / 0.7366 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/0.651, allocations: 36.48 kB / 0.7366 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.6517, allocations: 361.8 kB / 0.737 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.6546, allocations: 2.058 MB / 0.739 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/0.6554, allocations: 353.7 kB / 0.7393 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.6558, allocations: 205.9 kB / 0.7395 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.656, allocations: 85.28 kB / 0.7396 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.656, allocations: 38.75 kB / 0.7396 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.003e-06/0.656, allocations: 0 / 0.7396 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.00499/0.661, allocations: 1.747 MB / 0.7413 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.6611, allocations: 85.06 kB / 0.7414 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.6614, allocations: 229 kB / 0.7416 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.6614, allocations: 37.7 kB / 0.7417 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.6615, allocations: 184 kB / 0.7418 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.6617, allocations: 122.3 kB / 0.7419 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.6617, allocations: 12 kB / 0.742 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6618, allocations: 330.8 kB / 0.7423 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.6622, allocations: 204.7 kB / 0.7425 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.6627, allocations: 317 kB / 0.7428 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.6631, allocations: 247.7 kB / 0.743 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6631, allocations: 0 / 0.743 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001217/0.6643, allocations: 0.6687 MB / 0.7437 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6645, allocations: 180.3 kB / 0.7438 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6645, allocations: 4 kB / 0.7438 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.665, allocations: 155.3 kB / 0.744 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.6655, allocations: 95.86 kB / 0.7441 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.6685, allocations: 3.95 MB / 0.7479 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.6689, allocations: 39.86 kB / 0.748 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.669, allocations: 20 kB / 0.748 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/0.669, allocations: 4 kB / 0.748 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/0.6701, allocations: 0.6237 MB / 0.7486 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6702, allocations: 4 kB / 0.7486 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.6705, allocations: 143.5 kB / 0.7487 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.6709, allocations: 95.88 kB / 0.7488 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005932/0.6715, allocations: 1.109 MB / 0.7499 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.6718, allocations: 39.95 kB / 0.75 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.6718, allocations: 16 kB / 0.75 GB, free: 3.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.6721, allocations: 253.1 kB / 0.7502 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.6722, allocations: 39.58 kB / 0.7503 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.6735, allocations: 0.6171 MB / 0.7509 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6735, allocations: 4 kB / 0.7509 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6735, allocations: 11.98 kB / 0.7509 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6735, allocations: 3.953 kB / 0.7509 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.6758, allocations: 1.335 MB / 0.7522 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6759, allocations: 0 / 0.7522 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.6761, allocations: 68.14 kB / 0.7522 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/0.6766, allocations: 151.3 kB / 0.7524 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.6766, allocations: 11.95 kB / 0.7524 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003101/0.6797, allocations: 3.97 MB / 0.7563 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.6797, allocations: 7.938 kB / 0.7563 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.6809, allocations: 0.7815 MB / 0.757 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.6811, allocations: 132.7 kB / 0.7572 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.6811, allocations: 11.98 kB / 0.7572 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.6814, allocations: 43.97 kB / 0.7572 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.779e-05/0.6815, allocations: 35.84 kB / 0.7573 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.6815, allocations: 12 kB / 0.7573 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001883/0.6817, allocations: 168.5 kB / 0.7574 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6817, allocations: 0 / 0.7574 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008734/0.6826, allocations: 160 kB / 0.7576 GB, free: 11.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002752/0.6829, allocations: 151.2 kB / 0.7577 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6849, allocations: 1.201 MB / 0.7589 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6849, allocations: 4 kB / 0.7589 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/0.6856, allocations: 498.1 kB / 0.7594 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.6862, allocations: 54.03 kB / 0.7594 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6874, allocations: 0.8809 MB / 0.7603 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.6879, allocations: 0.8085 MB / 0.7611 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.6882, allocations: 114.8 kB / 0.7612 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.6883, allocations: 23.44 kB / 0.7612 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6883, allocations: 0 / 0.7612 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.01003/0.6983, allocations: 5.496 MB / 0.7666 GB, free: 2.301 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: