Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 251.3 MB / 266.2 MB, free: 11.48 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 176 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.533/2.533, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008762/0.000876, allocations: 90.36 kB / 0.6812 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004625, allocations: 14.22 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 106.2 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.008368/0.2225, allocations: 3.85 MB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008262/0.2308, allocations: 3.018 MB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/0.2314, allocations: 15.88 kB / 0.9058 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000921/0.2323, allocations: 151 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.2341, allocations: 312.5 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2353, allocations: 173.5 kB / 0.9064 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.2369, allocations: 0.6541 MB / 0.907 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.2392, allocations: 0.764 MB / 0.9078 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005876/0.2398, allocations: 183.2 kB / 0.9079 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.2405, allocations: 243.1 kB / 0.9082 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.2406, allocations: 16 kB / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.2417, allocations: 231.7 kB / 0.9084 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.242, allocations: 135.6 kB / 0.9085 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.2421, allocations: 101.5 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2435, allocations: 0.6743 MB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2435, allocations: 0 / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2435, allocations: 4 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.2436, allocations: 0 / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002108/0.2457, allocations: 0.7131 MB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.2457, allocations: 12.03 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006714/0.2525, allocations: 0.6945 MB / 0.9107 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.2541, allocations: 476 kB / 0.9111 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.2542, allocations: 21.03 kB / 0.9111 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2543, allocations: 40.02 kB / 0.9112 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.2578, allocations: 0.7826 MB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.2579, allocations: 0 / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.258, allocations: 15.98 kB / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/0.2583, allocations: 56.58 kB / 0.912 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.263, allocations: 0.8765 MB / 0.9129 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007619/0.2707, allocations: 2.859 MB / 0.9157 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/0.2746, allocations: 0.5175 MB / 0.9162 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.2764, allocations: 264.6 kB / 0.9164 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.2767, allocations: 89.09 kB / 0.9165 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.2767, allocations: 42.44 kB / 0.9165 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 4.288e-06/0.2768, allocations: 0 / 0.9165 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.07623/0.353, allocations: 3.212 MB / 0.9197 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3531, allocations: 85.11 kB / 0.9198 GB, free: 43.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/0.3541, allocations: 413.6 kB / 0.9202 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.3542, allocations: 29.64 kB / 0.9202 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.3545, allocations: 243.8 kB / 0.9204 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3547, allocations: 82.83 kB / 0.9205 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.3548, allocations: 8 kB / 0.9205 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3549, allocations: 342.8 kB / 0.9208 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.357, allocations: 367.5 kB / 0.9212 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/0.3593, allocations: 453.2 kB / 0.9216 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.3615, allocations: 388.8 kB / 0.922 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3616, allocations: 0 / 0.922 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01213/0.3737, allocations: 1.547 MB / 0.9235 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.3739, allocations: 148 kB / 0.9236 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3739, allocations: 4 kB / 0.9236 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/0.3833, allocations: 0.8403 MB / 0.9245 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.3849, allocations: 135.8 kB / 0.9246 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.3986, allocations: 4.657 MB / 0.9291 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.4004, allocations: 127.8 kB / 0.9293 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4006, allocations: 19.98 kB / 0.9293 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4006, allocations: 4 kB / 0.9293 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009936/0.4106, allocations: 1.259 MB / 0.9305 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4106, allocations: 4 kB / 0.9305 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00642/0.4171, allocations: 0.5509 MB / 0.9311 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.4183, allocations: 147.8 kB / 0.9312 GB, free: 31.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005287/0.4236, allocations: 2.498 MB / 0.9336 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.4249, allocations: 107.8 kB / 0.9337 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.425, allocations: 19.98 kB / 0.9338 GB, free: 28.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004387/0.4254, allocations: 332.8 kB / 0.9341 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4255, allocations: 39.53 kB / 0.9341 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007805/0.4334, allocations: 1.419 MB / 0.9355 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4334, allocations: 0 / 0.9355 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4334, allocations: 4 kB / 0.9355 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4335, allocations: 3.938 kB / 0.9355 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/0.4425, allocations: 2.087 MB / 0.9375 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.4426, allocations: 0 / 0.9375 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.4434, allocations: 80 kB / 0.9376 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006265/0.4496, allocations: 0.7973 MB / 0.9384 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/0.4498, allocations: 7.984 kB / 0.9384 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.4608, allocations: 4.485 MB / 0.9428 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.4609, allocations: 0 / 0.9428 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.4726, allocations: 1.449 MB / 0.9442 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.4732, allocations: 164.7 kB / 0.9444 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.4734, allocations: 11.94 kB / 0.9444 GB, free: 17.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.475, allocations: 95.84 kB / 0.9445 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.4753, allocations: 23.91 kB / 0.9445 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.4754, allocations: 15.98 kB / 0.9445 GB, free: 17.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007263/0.4761, allocations: 307.1 kB / 0.9448 GB, free: 17.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.02e-07/0.4762, allocations: 0 / 0.9448 GB, free: 17.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001732/0.4779, allocations: 212 kB / 0.945 GB, free: 16.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003046/0.4782, allocations: 115.3 kB / 0.9451 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008882/0.4871, allocations: 1.633 MB / 0.9467 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.4872, allocations: 0 / 0.9467 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003089/0.4903, allocations: 0.676 MB / 0.9474 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.492, allocations: 115.1 kB / 0.9475 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.4962, allocations: 1.217 MB / 0.9487 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.497, allocations: 0.9132 MB / 0.9496 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001635/0.4987, allocations: 159.2 kB / 0.9497 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.499, allocations: 31.42 kB / 0.9497 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/0.4991, allocations: 0 / 0.9497 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.04109/0.5402, allocations: 11.95 MB / 0.9614 GB, free: 76 kB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)