Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009971/0.0009971, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2399/0.2399, allocations: 29.41 MB / 291.2 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") translateModel(PowerSystems.Examples.Introductory.SimulationFixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.024e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationFixedInitial): time 0.009226/0.009256, allocations: 7.574 MB / 377.2 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.01356, allocations: 2.321 MB / 379.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.01397, allocations: 35.69 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.01569, allocations: 0.8477 MB / 380.4 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.01676, allocations: 0.5359 MB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.01787, allocations: 466.6 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.01924, allocations: 1.347 MB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.02021, allocations: 0.5253 MB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02125, allocations: 0.7788 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009205/0.02217, allocations: 0.6623 MB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.02229, allocations: 84 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.02285, allocations: 279.5 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.02335, allocations: 0.5417 MB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.0238, allocations: 395 kB / 386 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.02489, allocations: 1.001 MB / 387 MB, free: 9.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.02489, allocations: 4 kB / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02489, allocations: 0 / 387 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.0249, allocations: 0 / 387 MB, free: 9.898 MB / 362.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.001447/0.02635, allocations: 1.397 MB / 388.4 MB, free: 8.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.02639, allocations: 15.92 kB / 388.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.02716, allocations: 292 kB / 388.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.02798, allocations: 0.6811 MB / 389.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.02803, allocations: 70.36 kB / 389.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.02818, allocations: 108.8 kB / 389.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.02942, allocations: 0.9011 MB / 390.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.02945, allocations: 7.938 kB / 390.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.0295, allocations: 35.98 kB / 390.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.02964, allocations: 61.97 kB / 390.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.03032, allocations: 493.1 kB / 391 MB, free: 5.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003563/0.03389, allocations: 4.812 MB / 395.8 MB, free: 0.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.03448, allocations: 434.6 kB / 396.2 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.03477, allocations: 259.6 kB / 396.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.03481, allocations: 12.66 kB / 396.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.03526, allocations: 413.6 kB / 396.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 2.194e-06/0.03526, allocations: 0 / 396.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.00282/0.03808, allocations: 1.983 MB / 398.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.03815, allocations: 166.9 kB / 399.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.03858, allocations: 0.593 MB / 399.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.03862, allocations: 41.7 kB / 399.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.03888, allocations: 0.5302 MB / 400.2 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.03904, allocations: 273.9 kB / 400.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.03922, allocations: 184.2 kB / 400.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.0394, allocations: 0.5703 MB / 401.2 MB, free: 11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.03964, allocations: 175.6 kB / 401.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.04005, allocations: 0.5513 MB / 402 MB, free: 10.11 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.001766/0.04181, allocations: 1.512 MB / 403.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.04182, allocations: 4 kB / 403.5 MB, free: 8.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001378/0.04319, allocations: 0.9241 MB / 404.4 MB, free: 7.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.04323, allocations: 38.47 kB / 404.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.04324, allocations: 8 kB / 404.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.04364, allocations: 170.9 kB / 404.6 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.04428, allocations: 267.5 kB / 404.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.04753, allocations: 6.324 MB / 411.2 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.04788, allocations: 35.98 kB / 411.2 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.04793, allocations: 36.08 kB / 411.3 MB, free: 228 kB / 378.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: 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,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,$PRE.switch.t0,$PRE.switch.closed,$PRE.switch.open,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,switch.open,switch.t0,switch.control[1],$whenCondition2) * 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.0005599/0.04849, allocations: 270.8 kB / 411.5 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.04859, allocations: 107.5 kB / 411.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.04962, allocations: 0.7759 MB / 412.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.04963, allocations: 15.83 kB / 412.4 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.04964, allocations: 4 kB / 412.4 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.04965, allocations: 7.922 kB / 412.4 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.05152, allocations: 1.69 MB / 414.1 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.05152, allocations: 8.156 kB / 414.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.05201, allocations: 187.8 kB / 414.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.05241, allocations: 202.8 kB / 414.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.05245, allocations: 19.98 kB / 414.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.05578, allocations: 6.304 MB / 420.8 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.05578, allocations: 0 / 420.8 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.05706, allocations: 1.153 MB / 422 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.05715, allocations: 75.45 kB / 422.1 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.05722, allocations: 31.88 kB / 422.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.05742, allocations: 23.98 kB / 422.1 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.05754, allocations: 60.48 kB / 422.2 MB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.05757, allocations: 23.98 kB / 422.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.05784, allocations: 371 kB / 422.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05785, allocations: 0 / 422.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007125/0.05856, allocations: 272.1 kB / 422.8 MB, free: 4.07 MB / 394.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.0001803/0.05874, allocations: 135 kB / 423 MB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.05995, allocations: 1.255 MB / 424.2 MB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.05995, allocations: 4.062 kB / 424.2 MB, free: 2.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.06069, allocations: 0.9442 MB / 425.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.06126, allocations: 186.9 kB / 425.4 MB, free: 1.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.06396, allocations: 1.844 MB / 427.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.06417, allocations: 264.1 kB / 427.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.0645, allocations: 178.3 kB / 427.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.06462, allocations: 60.48 kB / 427.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.06462, allocations: 0 / 427.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01417/0.07879, allocations: 11.42 MB / 439.1 MB, free: 3.695 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationFixedInitial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.SimulationFixedInitial.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5972571240272373]