Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008788/0.0008789, allocations: 182 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 225.7 MB / 243.2 MB, free: 8.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 95.39 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3298/0.3298, allocations: 38.13 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 453.5 MB, free: 8.797 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3182, allocations: 59.13 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.007786/0.3261, allocations: 8.369 MB / 0.5088 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.3312, allocations: 4.186 MB / 0.5129 GB, free: 32.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.3319, allocations: 62.38 kB / 0.5129 GB, free: 32.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.3325, allocations: 208.5 kB / 0.5131 GB, free: 31.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009779/0.3335, allocations: 487.4 kB / 0.5136 GB, free: 31.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3345, allocations: 405.6 kB / 0.514 GB, free: 31.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3359, allocations: 1.977 MB / 0.5159 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.3374, allocations: 1.637 MB / 0.5175 GB, free: 29.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005831/0.338, allocations: 482.3 kB / 0.518 GB, free: 29.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.3387, allocations: 0.6654 MB / 0.5186 GB, free: 29.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.3388, allocations: 40.5 kB / 0.5186 GB, free: 29.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.3393, allocations: 234.1 kB / 0.5189 GB, free: 29.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.3398, allocations: 467.2 kB / 0.5193 GB, free: 29.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.3402, allocations: 0.5124 MB / 0.5198 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000986/0.3412, allocations: 1.26 MB / 0.521 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3412, allocations: 0 / 0.521 GB, free: 28.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3412, allocations: 0 / 0.521 GB, free: 28.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3412, allocations: 0 / 0.521 GB, free: 28.38 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001728/0.343, allocations: 1.154 MB / 0.5222 GB, free: 27.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.343, allocations: 12.56 kB / 0.5222 GB, free: 27.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008632/0.3439, allocations: 166.4 kB / 0.5223 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3448, allocations: 0.7034 MB / 0.523 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/0.3448, allocations: 65.22 kB / 0.5231 GB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.345, allocations: 105.5 kB / 0.5232 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.3465, allocations: 1.217 MB / 0.5244 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.3465, allocations: 10.78 kB / 0.5244 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.3466, allocations: 32.94 kB / 0.5244 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/0.3468, allocations: 64.17 kB / 0.5245 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.3482, allocations: 1.006 MB / 0.5255 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.3528, allocations: 4.785 MB / 0.5301 GB, free: 22.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.3538, allocations: 0.6687 MB / 0.5308 GB, free: 22.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.3543, allocations: 447.3 kB / 0.5312 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3543, allocations: 10.75 kB / 0.5312 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006032/0.3549, allocations: 0.5003 MB / 0.5317 GB, free: 22.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.284e-06/0.3549, allocations: 0 / 0.5317 GB, free: 22.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.003709/0.3587, allocations: 2.785 MB / 0.5344 GB, free: 20.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.3587, allocations: 168.8 kB / 0.5346 GB, free: 20.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.3593, allocations: 0.5837 MB / 0.5352 GB, free: 20.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3593, allocations: 44.02 kB / 0.5352 GB, free: 20.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3595, allocations: 479 kB / 0.5357 GB, free: 19.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.3597, allocations: 254.9 kB / 0.5359 GB, free: 19.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3598, allocations: 19.28 kB / 0.5359 GB, free: 19.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.3599, allocations: 392.2 kB / 0.5363 GB, free: 19.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.3603, allocations: 372.8 kB / 0.5367 GB, free: 19.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005478/0.3609, allocations: 0.6269 MB / 0.5373 GB, free: 18.7 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[1] = lineR.i_start[1] (lineL.i_start[1] - lineB.i_start[1] = lineR.i_start[1]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[2] = lineR.i_start[2] (lineL.i_start[2] - lineB.i_start[2] = lineR.i_start[2]) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: lineR.i[3] = lineR.i_start[3] (lineL.i_start[3] - lineB.i_start[3] = lineR.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.005813/0.3667, allocations: 3.449 MB / 0.5406 GB, free: 17.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3667, allocations: 7.156 kB / 0.5406 GB, free: 17.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001778/0.3685, allocations: 1.33 MB / 0.5419 GB, free: 16.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.3686, allocations: 38.08 kB / 0.542 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.3686, allocations: 9.094 kB / 0.542 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.3691, allocations: 251.3 kB / 0.5422 GB, free: 16.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.3701, allocations: 265.5 kB / 0.5425 GB, free: 16.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/0.374, allocations: 5.578 MB / 0.5479 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.3745, allocations: 34.67 kB / 0.548 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.3745, allocations: 49.77 kB / 0.548 GB, free: 11.75 MB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: lineR.i[1] = lineR.i_start[1] lineR.i[2] = lineR.i_start[2] lineR.i[3] = lineR.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,$PRE.switch.t0,$PRE.switch.open,$PRE.switch.closed,$whenCondition2,switch.control[1],switch.t0,switch.open,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 94 * Array equations: 1 * Algorithm blocks: 1 * 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 {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.375, allocations: 379.9 kB / 0.5484 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.375, allocations: 73.31 kB / 0.5484 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.3769, allocations: 1.142 MB / 0.5496 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.377, allocations: 9.266 kB / 0.5496 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.377, allocations: 3.594 kB / 0.5496 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.377, allocations: 6.891 kB / 0.5496 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.3803, allocations: 2.242 MB / 0.5518 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3803, allocations: 2.594 kB / 0.5518 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.3812, allocations: 188.4 kB / 0.5519 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.3819, allocations: 255.1 kB / 0.5522 GB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.382, allocations: 26.02 kB / 0.5522 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/0.3861, allocations: 5.5 MB / 0.5576 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.3861, allocations: 5.281 kB / 0.5576 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.3885, allocations: 1.628 MB / 0.5592 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3887, allocations: 152.3 kB / 0.5593 GB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3888, allocations: 27.31 kB / 0.5593 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3892, allocations: 29.39 kB / 0.5594 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.3894, allocations: 57.06 kB / 0.5594 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.3894, allocations: 22.7 kB / 0.5595 GB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004938/0.3899, allocations: 407.7 kB / 0.5598 GB, free: 3.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3899, allocations: 0 / 0.5598 GB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001016/0.391, allocations: 276.2 kB / 0.5601 GB, free: 3.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (lineL.i[1],lineL.i[2],lineL.i[3],lineB.i[1],lineB.i[2],lineB.i[3]) * Number of discrete variables: 9 (switch.control[1],$whenCondition2,$whenCondition1,switch.t0,switch.open,switch.closed,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 5 (relayNet.y[1],relayNet.cnt,$whenCondition1,switch.open,switch.closed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {(1,7,100.0%), (1,7,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.3912, allocations: 138.8 kB / 0.5602 GB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.3932, allocations: 1.392 MB / 0.5616 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3932, allocations: 1.188 kB / 0.5616 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.3945, allocations: 0.9033 MB / 0.5625 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3954, allocations: 178.4 kB / 0.5626 GB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.3989, allocations: 2.688 MB / 0.5653 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.3998, allocations: 1.113 MB / 0.5664 GB, free: 124 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007032/0.4005, allocations: 212.7 kB / 0.5666 GB, free: 88 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4007, allocations: 56.5 kB / 0.5666 GB, free: 80 kB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4007, allocations: 0 / 0.5666 GB, free: 80 kB / 378.7 MB Notification: Performance of Templates: time 0.01965/0.4203, allocations: 10.31 MB / 0.5767 GB, free: 7.336 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1)