Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.001737/0.001737, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.001776/0.001776, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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 1.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1868/0.1868, allocations: 38.55 MB / 353.2 MB, free: 12.32 MB / 286.1 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.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2957, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.007139/0.3028, allocations: 5.139 MB / 0.5482 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3051, allocations: 1.105 MB / 0.5493 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.3054, allocations: 20.69 kB / 0.5493 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.3058, allocations: 100.5 kB / 0.5494 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.3066, allocations: 315.1 kB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.307, allocations: 155.7 kB / 0.5498 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.3078, allocations: 0.7253 MB / 0.5505 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.308, allocations: 119.7 kB / 0.5507 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.3085, allocations: 335.2 kB / 0.551 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005731/0.3091, allocations: 376.5 kB / 0.5513 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.3092, allocations: 40.88 kB / 0.5514 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.3093, allocations: 45.72 kB / 0.5514 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3095, allocations: 204.9 kB / 0.5516 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.3098, allocations: 213 kB / 0.5518 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.3105, allocations: 0.5627 MB / 0.5524 GB, free: 9.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3105, allocations: 5.062 kB / 0.5524 GB, free: 9.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3105, allocations: 0 / 0.5524 GB, free: 9.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3105, allocations: 0 / 0.5524 GB, free: 9.637 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001602/0.3121, allocations: 0.7576 MB / 0.5531 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3122, allocations: 17.36 kB / 0.5531 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.3123, allocations: 59.47 kB / 0.5532 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.3131, allocations: 382.8 kB / 0.5535 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.3131, allocations: 33.06 kB / 0.5536 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.3132, allocations: 36.47 kB / 0.5536 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.314, allocations: 0.505 MB / 0.5541 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3141, allocations: 0 / 0.5541 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.3141, allocations: 20.56 kB / 0.5541 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.3142, allocations: 29.47 kB / 0.5541 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.3149, allocations: 398.9 kB / 0.5545 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.3174, allocations: 1.524 MB / 0.556 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.3182, allocations: 343.4 kB / 0.5563 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.3187, allocations: 223.4 kB / 0.5566 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.3187, allocations: 4 kB / 0.5566 GB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/0.3193, allocations: 321.3 kB / 0.5569 GB, free: 5.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.3193, allocations: 0 / 0.5569 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002816/0.3221, allocations: 1.254 MB / 0.5581 GB, free: 4.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3222, allocations: 140.5 kB / 0.5582 GB, free: 4.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.3227, allocations: 385.5 kB / 0.5586 GB, free: 4.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.3228, allocations: 33.7 kB / 0.5586 GB, free: 4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.323, allocations: 256.6 kB / 0.5589 GB, free: 3.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3231, allocations: 111.1 kB / 0.559 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3232, allocations: 82.19 kB / 0.5591 GB, free: 3.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3234, allocations: 358.8 kB / 0.5594 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.3237, allocations: 150.6 kB / 0.5595 GB, free: 3.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3241, allocations: 285.1 kB / 0.5598 GB, free: 2.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/0.3247, allocations: 449.5 kB / 0.5602 GB, free: 2.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3247, allocations: 0 / 0.5602 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001028/0.3257, allocations: 0.5681 MB / 0.5608 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.3258, allocations: 37.8 kB / 0.5608 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3258, allocations: 4 kB / 0.5608 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3261, allocations: 85.64 kB / 0.5609 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.3264, allocations: 71.84 kB / 0.561 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/0.329, allocations: 2.747 MB / 0.5637 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.3293, allocations: 23.98 kB / 0.5637 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3294, allocations: 20 kB / 0.5637 GB, free: 14.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,breaker.breaker_1.opening,breaker.breaker_1.t0,$PRE.breaker.breaker_1.t0,breaker.breaker_1.closed,breaker.breaker_1.open,$PRE.breaker.breaker_1.open,breaker.breaker_1.arc,$PRE.breaker.breaker_1.arc,relay.y[1],$PRE.relay.y[1],$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,relay.cnt,$PRE.relay.cnt,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003416/0.3297, allocations: 239.5 kB / 0.5639 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.3298, allocations: 47.66 kB / 0.564 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3308, allocations: 0.5333 MB / 0.5645 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3308, allocations: 4 kB / 0.5645 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3308, allocations: 0 / 0.5645 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.3308, allocations: 7.984 kB / 0.5645 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3325, allocations: 0.9532 MB / 0.5654 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3325, allocations: 0 / 0.5654 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.3327, allocations: 35.92 kB / 0.5655 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002757/0.333, allocations: 97.61 kB / 0.5656 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.333, allocations: 11.98 kB / 0.5656 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.3356, allocations: 2.755 MB / 0.5683 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3356, allocations: 4.031 kB / 0.5683 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3369, allocations: 0.847 MB / 0.5691 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3371, allocations: 35.75 kB / 0.5691 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.798e-05/0.3371, allocations: 12 kB / 0.5692 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3374, allocations: 23.97 kB / 0.5692 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3375, allocations: 32.16 kB / 0.5692 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.3375, allocations: 16 kB / 0.5692 GB, free: 8.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.3378, allocations: 259.2 kB / 0.5695 GB, free: 8.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3378, allocations: 0 / 0.5695 GB, free: 8.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.3384, allocations: 116 kB / 0.5696 GB, free: 8.035 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.3385, allocations: 115.7 kB / 0.5697 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3396, allocations: 0.6831 MB / 0.5704 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3397, allocations: 0 / 0.5704 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.3404, allocations: 0.4905 MB / 0.5708 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.341, allocations: 110.6 kB / 0.5709 GB, free: 6.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3429, allocations: 1.083 MB / 0.572 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3432, allocations: 258.3 kB / 0.5722 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.3433, allocations: 39.44 kB / 0.5723 GB, free: 5.094 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3433, allocations: 0 / 0.5723 GB, free: 5.094 MB / 414.1 MB Notification: Performance of Templates: time 0.01404/0.3573, allocations: 9.46 MB / 0.5815 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.i,meter.p,meter.v,time [Calling sys.exit(0), Time elapsed: 9.143632061779499]