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.001507/0.001507, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.00165/0.00165, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.211 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.1756/0.1756, allocations: 38.52 MB / 353.2 MB, free: 12.69 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.001999/0.001999, allocations: 63.91 kB / 493.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2732, allocations: 62.48 MB / 0.5432 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.006413/0.2796, allocations: 5.478 MB / 0.5486 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.2816, allocations: 1.191 MB / 0.5497 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2818, allocations: 21.56 kB / 0.5498 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.2822, allocations: 104.2 kB / 0.5499 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006482/0.2828, allocations: 314.5 kB / 0.5502 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.2831, allocations: 154.4 kB / 0.5503 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007517/0.2839, allocations: 0.7223 MB / 0.551 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.2841, allocations: 131.4 kB / 0.5511 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.2846, allocations: 338.9 kB / 0.5515 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.2851, allocations: 377 kB / 0.5518 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.2852, allocations: 45.56 kB / 0.5519 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.2853, allocations: 40.28 kB / 0.5519 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.2855, allocations: 212.7 kB / 0.5521 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.2857, allocations: 257.3 kB / 0.5524 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.2864, allocations: 0.5463 MB / 0.5529 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2864, allocations: 0 / 0.5529 GB, free: 9.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2864, allocations: 4.969 kB / 0.5529 GB, free: 9.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2864, allocations: 0 / 0.5529 GB, free: 9.316 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.001454/0.2878, allocations: 0.7727 MB / 0.5537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2879, allocations: 9.406 kB / 0.5537 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.288, allocations: 59.12 kB / 0.5537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.2886, allocations: 379.4 kB / 0.5541 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2887, allocations: 31.66 kB / 0.5541 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.2888, allocations: 44.89 kB / 0.5542 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.2895, allocations: 490 kB / 0.5546 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2895, allocations: 3.938 kB / 0.5546 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.2895, allocations: 12.53 kB / 0.5546 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.2897, allocations: 29.47 kB / 0.5547 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.2902, allocations: 368.2 kB / 0.555 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.2925, allocations: 1.678 MB / 0.5567 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.2931, allocations: 303.8 kB / 0.5569 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.2935, allocations: 193.7 kB / 0.5571 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2935, allocations: 0 / 0.5571 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/0.294, allocations: 287.6 kB / 0.5574 GB, free: 5.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.294, allocations: 7.938 kB / 0.5574 GB, free: 5.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002382/0.2964, allocations: 1.176 MB / 0.5586 GB, free: 4.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2965, allocations: 140.5 kB / 0.5587 GB, free: 4.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.2969, allocations: 369.6 kB / 0.559 GB, free: 3.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.2969, allocations: 37.7 kB / 0.5591 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2971, allocations: 256.5 kB / 0.5593 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2973, allocations: 119 kB / 0.5594 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2974, allocations: 86.14 kB / 0.5595 GB, free: 3.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2975, allocations: 354.8 kB / 0.5599 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.2978, allocations: 132.9 kB / 0.56 GB, free: 2.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2981, allocations: 255.5 kB / 0.5602 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.2986, allocations: 445.4 kB / 0.5607 GB, free: 2.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2986, allocations: 4 kB / 0.5607 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000876/0.2995, allocations: 0.5391 MB / 0.5612 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.2995, allocations: 36.36 kB / 0.5612 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2996, allocations: 4 kB / 0.5612 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002768/0.2998, allocations: 81.59 kB / 0.5613 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3001, allocations: 67.91 kB / 0.5614 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.3024, allocations: 2.789 MB / 0.5641 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3028, allocations: 24.14 kB / 0.5641 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.3028, allocations: 24 kB / 0.5641 GB, free: 14.31 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.0002965/0.3031, allocations: 239.2 kB / 0.5644 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.3032, allocations: 47.72 kB / 0.5644 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.304, allocations: 0.4926 MB / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.304, allocations: 11.98 kB / 0.5649 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.304, allocations: 4 kB / 0.5649 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.304, allocations: 3.938 kB / 0.5649 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3056, allocations: 1.025 MB / 0.5659 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3056, allocations: 0 / 0.5659 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.3058, allocations: 35.98 kB / 0.5659 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/0.306, allocations: 97.56 kB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3061, allocations: 11.98 kB / 0.566 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.3084, allocations: 2.797 MB / 0.5688 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3084, allocations: 4.031 kB / 0.5688 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.3096, allocations: 0.7735 MB / 0.5695 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3097, allocations: 43.73 kB / 0.5696 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.3098, allocations: 20 kB / 0.5696 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.31, allocations: 19.92 kB / 0.5696 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.3101, allocations: 35.88 kB / 0.5697 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.3102, allocations: 20.05 kB / 0.5697 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.3104, allocations: 259.2 kB / 0.5699 GB, free: 8.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3104, allocations: 0 / 0.5699 GB, free: 8.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.311, allocations: 119.9 kB / 0.57 GB, free: 7.91 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.0001385/0.3111, allocations: 111.7 kB / 0.5701 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009751/0.3121, allocations: 0.6172 MB / 0.5707 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3121, allocations: 0 / 0.5707 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.3127, allocations: 469.6 kB / 0.5712 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.3133, allocations: 91.94 kB / 0.5713 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3151, allocations: 1.058 MB / 0.5723 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3156, allocations: 0.8626 MB / 0.5732 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3157, allocations: 39.42 kB / 0.5732 GB, free: 4.52 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3157, allocations: 4 kB / 0.5732 GB, free: 4.516 MB / 414.1 MB Notification: Performance of Templates: time 0.0132/0.3289, allocations: 9.282 MB / 0.5823 GB, free: 11.25 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: 8.825000004842877]