Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001732/0.001732, allocations: 193.7 kB / 16.13 MB, free: 6.605 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.836/1.836, allocations: 205.1 MB / 222 MB, free: 4.738 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.777/1.777, allocations: 251.7 MB / 0.5088 GB, free: 3.32 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.001395/0.001395, allocations: 59.92 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7565/0.7579, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008032/0.766, allocations: 5.456 MB / 0.7291 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005805/0.7719, allocations: 2.666 MB / 0.7317 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.7728, allocations: 19.88 kB / 0.7318 GB, free: 4.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.7749, allocations: 0.6447 MB / 0.7324 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.7766, allocations: 382.2 kB / 0.7328 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.7781, allocations: 355.3 kB / 0.7331 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.7799, allocations: 1.244 MB / 0.7343 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7811, allocations: 464 kB / 0.7348 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.7819, allocations: 326.6 kB / 0.7351 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.7826, allocations: 410.4 kB / 0.7355 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.7827, allocations: 32 kB / 0.7355 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.7839, allocations: 443.1 kB / 0.7359 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.7843, allocations: 231.3 kB / 0.7361 GB, free: 492 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.7847, allocations: 330.2 kB / 0.7365 GB, free: 160 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.7864, allocations: 0.9733 MB / 0.7374 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.7864, allocations: 4 kB / 0.7374 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7865, allocations: 0 / 0.7374 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.7865, allocations: 4 kB / 0.7374 GB, free: 15.17 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002427/0.7889, allocations: 0.962 MB / 0.7383 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.206e-05/0.789, allocations: 8.031 kB / 0.7384 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.7906, allocations: 195.9 kB / 0.7385 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.7917, allocations: 486.5 kB / 0.739 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.568e-05/0.7918, allocations: 37.38 kB / 0.739 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.792, allocations: 52.48 kB / 0.7391 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.7936, allocations: 0.828 MB / 0.7399 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.7936, allocations: 15.84 kB / 0.7399 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.7937, allocations: 20 kB / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.7939, allocations: 68.88 kB / 0.74 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.795, allocations: 0.5658 MB / 0.7406 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006761/0.8018, allocations: 4.589 MB / 0.745 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.8024, allocations: 295.2 kB / 0.7453 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.8027, allocations: 233.3 kB / 0.7455 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.8028, allocations: 288 / 0.7455 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.8028, allocations: 42.78 kB / 0.7456 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.8028, allocations: 0 / 0.7456 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.00608/0.8089, allocations: 2.618 MB / 0.7481 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.809, allocations: 55.41 kB / 0.7482 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.8098, allocations: 461.9 kB / 0.7486 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.8098, allocations: 37.7 kB / 0.7487 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.8104, allocations: 339.6 kB / 0.749 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.8105, allocations: 141.9 kB / 0.7491 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.8107, allocations: 102.2 kB / 0.7492 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.8109, allocations: 366.8 kB / 0.7496 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.8114, allocations: 233 kB / 0.7498 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.812, allocations: 410.4 kB / 0.7502 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.813, allocations: 0.6779 MB / 0.7508 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.813, allocations: 0 / 0.7508 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001747/0.8148, allocations: 0.9214 MB / 0.7517 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.8148, allocations: 8.062 kB / 0.7518 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.8148, allocations: 8 kB / 0.7518 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.8157, allocations: 226.4 kB / 0.752 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.8163, allocations: 119.8 kB / 0.7521 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.8223, allocations: 4.934 MB / 0.7569 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.823, allocations: 39.91 kB / 0.7569 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.8231, allocations: 24 kB / 0.757 GB, free: 9.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.8235, allocations: 225.9 kB / 0.7572 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.8236, allocations: 55.34 kB / 0.7572 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.8252, allocations: 0.7774 MB / 0.758 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8252, allocations: 4 kB / 0.758 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8252, allocations: 0 / 0.758 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.8252, allocations: 3.984 kB / 0.758 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.8283, allocations: 1.503 MB / 0.7595 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.8283, allocations: 0 / 0.7595 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.8287, allocations: 63.89 kB / 0.7595 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/0.8295, allocations: 206.6 kB / 0.7597 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.8296, allocations: 12 kB / 0.7597 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005402/0.835, allocations: 4.868 MB / 0.7645 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.835, allocations: 0 / 0.7645 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.8371, allocations: 1.15 MB / 0.7656 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.8374, allocations: 164.4 kB / 0.7658 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.635e-05/0.8375, allocations: 12 kB / 0.7658 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.8378, allocations: 23.97 kB / 0.7658 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8379, allocations: 43.89 kB / 0.7659 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.838, allocations: 16 kB / 0.7659 GB, free: 128 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004297/0.8384, allocations: 314.9 kB / 0.7662 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8384, allocations: 3.938 kB / 0.7662 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000856/0.8393, allocations: 164 kB / 0.7663 GB, free: 15.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002281/0.8395, allocations: 127.2 kB / 0.7665 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.8414, allocations: 0.9964 MB / 0.7674 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8414, allocations: 0 / 0.7674 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.8425, allocations: 0.6838 MB / 0.7681 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.8436, allocations: 169.7 kB / 0.7683 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.8461, allocations: 1.511 MB / 0.7697 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.8467, allocations: 0.9455 MB / 0.7707 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003981/0.8471, allocations: 112.9 kB / 0.7708 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.8472, allocations: 35.44 kB / 0.7708 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of SimCode: time 6.41e-07/0.8472, allocations: 0 / 0.7708 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.01603/0.8632, allocations: 8.536 MB / 0.7791 GB, free: 2.488 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)