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.0009991/0.0009991, allocations: 87.62 kB / 21.44 MB, free: 3.125 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.004895/0.004895, allocations: 158.7 kB / 24.7 MB, free: 8.91 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.8553/0.8553, allocations: 177.1 MB / 205 MB, free: 5.711 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.2059/0.2059, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.441e-05, allocations: 6.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker): time 0.004461/0.004485, allocations: 5.102 MB / 436.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.005718, allocations: 1.13 MB / 437.7 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.005886, allocations: 23.81 kB / 437.7 MB, free: 6.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.006178, allocations: 95.12 kB / 437.8 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.006659, allocations: 326 kB / 438.1 MB, free: 6.375 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.006868, allocations: 147.6 kB / 438.3 MB, free: 6.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.007378, allocations: 0.7435 MB / 439 MB, free: 5.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.007585, allocations: 133.2 kB / 439.2 MB, free: 5.348 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.008001, allocations: 438.6 kB / 439.6 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.008364, allocations: 347.1 kB / 439.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.008412, allocations: 40 kB / 440 MB, free: 4.539 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.008466, allocations: 40 kB / 440 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.008623, allocations: 219.4 kB / 440.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.008764, allocations: 183.5 kB / 440.4 MB, free: 4.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.009193, allocations: 0.5452 MB / 441 MB, free: 3.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.009195, allocations: 0 / 441 MB, free: 3.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009196, allocations: 0 / 441 MB, free: 3.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.009203, allocations: 0 / 441 MB, free: 3.559 MB / 410.7 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.001015/0.01022, allocations: 0.7783 MB / 441.7 MB, free: 2.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01025, allocations: 8.031 kB / 441.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.811e-05/0.01033, allocations: 56.61 kB / 441.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.01079, allocations: 384.8 kB / 442.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.01082, allocations: 33.3 kB / 442.2 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.01087, allocations: 36.38 kB / 442.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.01137, allocations: 0.5004 MB / 442.7 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.01139, allocations: 3.938 kB / 442.7 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.01142, allocations: 23.98 kB / 442.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.01149, allocations: 28.62 kB / 442.8 MB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.01189, allocations: 396.3 kB / 443.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1582/0.1701, allocations: 1.514 MB / 444.7 MB, free: 54.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.1705, allocations: 331.6 kB / 445 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.1708, allocations: 261 kB / 445.3 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1708, allocations: 6.312 kB / 445.3 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.1711, allocations: 319.6 kB / 445.6 MB, free: 53.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.1711, allocations: 0 / 445.6 MB, free: 53.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001371/0.1725, allocations: 1.267 MB / 446.9 MB, free: 53.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1725, allocations: 146.1 kB / 447 MB, free: 53.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1727, allocations: 375.5 kB / 447.4 MB, free: 52.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1728, allocations: 36 kB / 447.4 MB, free: 52.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.1729, allocations: 257.9 kB / 447.7 MB, free: 52.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1729, allocations: 118.7 kB / 447.8 MB, free: 52.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.173, allocations: 90.97 kB / 447.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.325e-05/0.173, allocations: 355.1 kB / 448.2 MB, free: 52.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1731, allocations: 161.6 kB / 448.4 MB, free: 52.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1733, allocations: 281.2 kB / 448.6 MB, free: 51.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.1736, allocations: 449.2 kB / 449.1 MB, free: 51.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1736, allocations: 3.156 kB / 449.1 MB, free: 51.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005161/0.1741, allocations: 0.5669 MB / 449.6 MB, free: 51.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1741, allocations: 32.2 kB / 449.7 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1741, allocations: 3.25 kB / 449.7 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.1743, allocations: 87.62 kB / 449.8 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1745, allocations: 75.62 kB / 449.8 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009428/0.1754, allocations: 2.736 MB / 452.6 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1756, allocations: 28.97 kB / 452.6 MB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1756, allocations: 22 kB / 452.6 MB, free: 48.75 MB / 410.7 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.0001431/0.1757, allocations: 241.2 kB / 452.9 MB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1757, allocations: 39.27 kB / 452.9 MB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.1762, allocations: 0.5426 MB / 453.4 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1762, allocations: 9.281 kB / 453.5 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1762, allocations: 0 / 453.5 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1762, allocations: 3.422 kB / 453.5 MB, free: 48.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.1769, allocations: 0.959 MB / 454.4 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.177, allocations: 3.188 kB / 454.4 MB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.177, allocations: 44.11 kB / 454.5 MB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.1772, allocations: 91.12 kB / 454.5 MB, free: 47.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1772, allocations: 13.88 kB / 454.6 MB, free: 47.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008153/0.178, allocations: 2.75 MB / 457.3 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.178, allocations: 0 / 457.3 MB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.1786, allocations: 0.8416 MB / 458.2 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1786, allocations: 47.69 kB / 458.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.1787, allocations: 14.44 kB / 458.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1788, allocations: 20.64 kB / 458.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.1789, allocations: 37.17 kB / 458.3 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1789, allocations: 13.78 kB / 458.3 MB, free: 44.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.179, allocations: 262.8 kB / 458.5 MB, free: 44.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.179, allocations: 0 / 458.5 MB, free: 44.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.1793, allocations: 113.4 kB / 458.7 MB, free: 44.46 MB / 410.7 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 9.272e-05/0.1794, allocations: 111.2 kB / 458.8 MB, free: 44.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.1799, allocations: 0.6801 MB / 459.4 MB, free: 43.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1799, allocations: 3.25 kB / 459.4 MB, free: 43.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.1802, allocations: 0.4996 MB / 459.9 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1805, allocations: 94.38 kB / 460 MB, free: 43.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.1814, allocations: 1.007 MB / 461 MB, free: 42.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1815, allocations: 260.3 kB / 461.3 MB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1816, allocations: 35.19 kB / 461.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1816, allocations: 0 / 461.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of Templates: time 0.006172/0.1878, allocations: 9.545 MB / 470.9 MB, free: 42.06 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.mat","/var/lib/jenkins/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: 5.762549445964396]