Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.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.001101/0.001101, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001693/0.002794, allocations: 441.7 kB / 10.32 MB, free: 380 kB / 10.45 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.001087/0.001087, allocations: 153.2 kB / 11.21 MB, free: 2.965 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001437/0.002524, allocations: 467.5 kB / 11.66 MB, free: 2.504 MB / 13.93 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.05/1.05, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07894/1.129, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1176/0.1176, allocations: 29.44 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1267/0.2443, allocations: 9.524 MB / 282.9 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.456e-05, allocations: 5.391 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Fault): time 0.005236/0.00525, allocations: 5.884 MB / 290 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.007093, allocations: 1.612 MB / 291.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.007316, allocations: 28.47 kB / 291.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.007615, allocations: 142.4 kB / 291.8 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.008159, allocations: 468.9 kB / 292.3 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.008529, allocations: 297.3 kB / 292.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.009361, allocations: 1.213 MB / 293.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.009592, allocations: 194.2 kB / 294 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.01033, allocations: 0.7534 MB / 294.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.0108, allocations: 474 kB / 295.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.012e-05/0.01088, allocations: 74.19 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.01098, allocations: 68 kB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.0112, allocations: 323.2 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.0114, allocations: 239.5 kB / 295.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.0119, allocations: 0.5917 MB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.01191, allocations: 7.938 kB / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01191, allocations: 0 / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.01192, allocations: 0 / 296.5 MB, free: 2.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001135/0.01306, allocations: 1.177 MB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.01309, allocations: 8.031 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.042e-05/0.01317, allocations: 114.6 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.01328, allocations: 108.8 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.01374, allocations: 447.2 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.01378, allocations: 57.67 kB / 298.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.01384, allocations: 71.92 kB / 298.4 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.0144, allocations: 0.6161 MB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01441, allocations: 4 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.01445, allocations: 31.98 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/0.01453, allocations: 29.3 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.01484, allocations: 287.1 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.01668, allocations: 2.219 MB / 301.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.01715, allocations: 401.3 kB / 302 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.01745, allocations: 234.6 kB / 302.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/0.01749, allocations: 8.5 kB / 302.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/0.01811, allocations: 0.5238 MB / 302.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=81): time 2.325e-06/0.01812, allocations: 0 / 302.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=81): time 0.001947/0.02006, allocations: 1.052 MB / 303.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.02016, allocations: 208.5 kB / 304 MB, free: 10.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.02054, allocations: 423.1 kB / 304.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.0206, allocations: 53.69 kB / 304.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.02076, allocations: 282.1 kB / 304.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.02096, allocations: 238.2 kB / 305 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.02117, allocations: 162.5 kB / 305.2 MB, free: 9.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.02131, allocations: 394.4 kB / 305.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.02156, allocations: 160.2 kB / 305.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.0219, allocations: 344.2 kB / 306 MB, free: 8.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.02249, allocations: 0.5279 MB / 306.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.02249, allocations: 4 kB / 306.6 MB, free: 7.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009825/0.02348, allocations: 0.6288 MB / 307.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.02352, allocations: 59.97 kB / 307.3 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.02353, allocations: 4 kB / 307.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004196/0.02395, allocations: 107.2 kB / 307.4 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.02476, allocations: 235.7 kB / 307.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.0269, allocations: 2.529 MB / 310.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.02722, allocations: 67.55 kB / 310.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.02728, allocations: 28 kB / 310.2 MB, free: 3.805 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 64 (system.initime,fault_Ab.fault_pp.t0,$PRE.fault_Ab.fault_pp.t0,fault_Ab.fault_pg.t0,$PRE.fault_Ab.fault_pg.t0,relay2.cnt,$PRE.relay2.cnt,$whenCondition2,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,fault_Ab.fault_pg.on,$PRE.fault_Ab.fault_pg.on,fault_Ab.fault_pp.on,$PRE.fault_Ab.fault_pp.on,fault_Ab.first,$PRE.fault_Ab.first,fault_Ab.v_pos,$PRE.fault_Ab.v_pos,fault_Ab.t_zero,$PRE.fault_Ab.t_zero,switch2.switch_2.closed,switch2.switch_2.open,$PRE.switch2.switch_2.open,switch2.switch_2.arc,$PRE.switch2.switch_2.arc,switch2.switch_1.closed,switch2.switch_1.open,$PRE.switch2.switch_1.open,switch2.switch_1.arc,$PRE.switch2.switch_1.arc,switch1.switch_2.closed,switch1.switch_2.open,$PRE.switch1.switch_2.open,switch1.switch_2.arc,$PRE.switch1.switch_2.arc,switch1.switch_1.closed,switch1.switch_1.open,$PRE.switch1.switch_1.open,switch1.switch_1.arc,$PRE.switch1.switch_1.arc,relay2.y[2],$PRE.relay2.y[2],relay2.y[1],$PRE.relay2.y[1],relay1.y[2],$PRE.relay1.y[2],relay1.y[1],$PRE.relay1.y[1],$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 2 * 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.000284/0.02756, allocations: 269.1 kB / 310.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.02768, allocations: 71.94 kB / 310.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009073/0.02858, allocations: 0.5923 MB / 311.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.02859, allocations: 12 kB / 311.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.0286, allocations: 4 kB / 311.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.0286, allocations: 3.984 kB / 311.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.03035, allocations: 1.145 MB / 312.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.03035, allocations: 4 kB / 312.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.03099, allocations: 167.9 kB / 312.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.03121, allocations: 99.42 kB / 312.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.03163, allocations: 127.1 kB / 312.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.03167, allocations: 23.98 kB / 312.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.03302, allocations: 2.529 MB / 315.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.03302, allocations: 8.125 kB / 315.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.03385, allocations: 0.9735 MB / 316.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.03391, allocations: 27.98 kB / 316.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.03407, allocations: 23.92 kB / 316.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.03418, allocations: 76.52 kB / 316.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.03421, allocations: 19.98 kB / 316.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.03434, allocations: 184.4 kB / 316.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03434, allocations: 0 / 316.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.03472, allocations: 243.7 kB / 316.8 MB, free: 12.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (line.i1[1],line.i1[2],line.i2[1],line.i2[2]) * Number of discrete variables: 43 (switch1.switch_1.closed,switch1.switch_2.closed,switch2.switch_1.closed,switch2.switch_2.closed,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,relay1.y[1],relay1.y[2],relay1.cnt,relay2.y[1],relay2.y[2],relay2.cnt,switch1.switch_1.arc,switch1.switch_1.open,switch1.switch_2.arc,switch1.switch_2.open,switch2.switch_1.arc,switch2.switch_1.open,switch2.switch_2.arc,switch2.switch_2.open,fault_Ab.t_zero,fault_Ab.v_pos,fault_Ab.first,fault_Ab.fault_pp.on,fault_Ab.fault_pp.t0,fault_Ab.fault_pg.on,fault_Ab.fault_pg.t0,system.initime) * Number of discrete states: 17 (fault_Ab.t_zero,fault_Ab.fault_pp.on,fault_Ab.fault_pg.on,fault_Ab.v_pos,fault_Ab.first,relay2.y[2],relay2.y[1],relay2.cnt,$whenCondition2,switch2.switch_2.open,switch2.switch_1.open,relay1.y[2],relay1.y[1],relay1.cnt,$whenCondition1,switch1.switch_2.open,switch1.switch_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 9 * 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.001128/0.03584, allocations: 1.466 MB / 318.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.03668, allocations: 0.9092 MB / 319.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.03669, allocations: 12.12 kB / 319.2 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.03809, allocations: 0.697 MB / 319.9 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.03879, allocations: 234.3 kB / 320.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.0434, allocations: 3.848 MB / 324 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.04355, allocations: 211.6 kB / 324.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.04376, allocations: 90.02 kB / 324.3 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/0.04424, allocations: 429.2 kB / 324.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.823e-06/0.04424, allocations: 0 / 324.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of FMU documentation: time 0.04381/0.08805, allocations: 23.89 MB / 348.6 MB, free: 12.7 MB / 346.7 MB Notification: FMU-only work: backend 0.000999, simCode 0.001858, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06407/0.1521, allocations: 1.322 MB / 349.9 MB, free: 11.34 MB / 346.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.237/3.389, allocations: 26.41 kB / 349.9 MB, free: 11.33 MB / 346.7 MB " [Timeout remaining time 657] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --mode=me --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault.fmu) > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_OMSimulator-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_OMSimulator-cs-euler.fmu) > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[2127]=0.200000 File[107]=0.010600 " [Timeout remaining time 660] "" Variables in the reference:meter.i,meter.p,meter.v Variables in the result:der(line.i1[1]),der(line.i1[2]),der(line.i2[1]),der(line.i2[2]),der(line.term_n.i[1]),der(line.term_n.i[2]),der(line.term_p.i[1]),der(line.term_p.i[2]),der(switch1.i[1]),der(switch1.i[2]),der(switch1.term_n.i[1]),der(switch1.term_n.i[2]),der(switch1.term_p.i[1]),der(switch1.term_p.i[2]),der(switch2.i[1]),der(switch2.i[2]),der(switch2.term_n.i[1]),der(switch2.term_n.i[2]),der(switch2.term_p.i[1]),der(switch2.term_p.i[2]),der(voltage1.term.i[1]),der(voltage1.term.i[2]),der(voltage2.term.i[1]),der(voltage2.term.i[2]),fault_Ab.epsG,fault_Ab.epsR,fault_Ab.f,fault_Ab.fault_pg.beta,fault_Ab.fault_pg.epsG,fault_Ab.fault_pg.epsR,fault_Ab.fault_pg.i,fault_Ab.fault_pg.on,fault_Ab.fault_pg.r[1],fault_Ab.fault_pg.r[2],fault_Ab.fault_pg.relax,fault_Ab.fault_pg.t0,fault_Ab.fault_pg.t_c,fault_Ab.fault_pg.v,fault_Ab.fault_pp.beta,fault_Ab.fault_pp.epsG,fault_Ab.fault_pp.epsR,fault_Ab.fault_pp.i,fault_Ab.fault_pp.on,fault_Ab.fault_pp.r[1],fault_Ab.fault_pp.r[2],fault_Ab.fault_pp.relax,fault_Ab.fault_pp.t0,fault_Ab.fault_pp.t_c,fault_Ab.fault_pp.v,fault_Ab.i[1],fault_Ab.i[2],fault_Ab.n_ph,fault_Ab.on,fault_Ab.phi_on,fault_Ab.t_on,fault_Ab.term.i[1],fault_Ab.term.i[2],fault_Ab.term.v[1],fault_Ab.term.v[2],fault_Ab.v[1],fault_Ab.v[2],grd1.term.i,grd1.term.v,grd2.term.i,grd2.term.v,line.dynType,line.i1[1],line.i1[2],line.i2[1],line.i2[2],line.i_start[1],line.i_start[2],line.len,line.ne,line.p,line.par.S_nom,line.par.V_nom,line.par.f_nom,line.par.puUnits,line.par.r[1],line.par.r[2],line.par.x,line.par.x0,line.term_f.i[1],line.term_f.i[2],line.term_f.v[1],line.term_f.v[2],line.term_n.i[1],line.term_n.i[2],line.term_n.v[1],line.term_n.v[2],line.term_p.i[1],line.term_p.i[2],line.term_p.v[1],line.term_p.v[2],line.v_start[1],line.v_start[2],meter.S_nom,meter.V_nom,meter.av,meter.i,meter.i0,meter.p,meter.puUnits,meter.tcst,meter.term_n.i[1],meter.term_n.i[2],meter.term_n.v[1],meter.term_n.v[2],meter.term_p.i[1],meter.term_p.i[2],meter.term_p.v[1],meter.term_p.v[2],meter.v,meter.v0,relay1.ini_state,relay1.n,relay1.switched[1],relay1.switched[2],relay1.t_switch[1],relay1.t_switch[2],relay1.y[1],relay1.y[2],relay2.ini_state,relay2.n,relay2.switched[1],relay2.switched[2],relay2.t_switch[1],relay2.t_switch[2],relay2.y[1],relay2.y[2],switch1.I_nom,switch1.V_nom,switch1.control[1],switch1.control[2],switch1.eps[1],switch1.eps[2],switch1.i[1],switch1.i[2],switch1.term_n.i[1],switch1.term_n.i[2],switch1.term_n.v[1],switch1.term_n.v[2],switch1.term_p.i[1],switch1.term_p.i[2],switch1.term_p.v[1],switch1.term_p.v[2],switch1.v[1],switch1.v[2],switch2.I_nom,switch2.V_nom,switch2.control[1],switch2.control[2],switch2.eps[1],switch2.eps[2],switch2.i[1],switch2.i[2],switch2.term_n.i[1],switch2.term_n.i[2],switch2.term_n.v[1],switch2.term_n.v[2],switch2.term_p.i[1],switch2.term_p.i[2],switch2.term_p.v[1],switch2.term_p.v[2],switch2.v[1],switch2.v[2],system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.initime,system.omega,system.omega_nom,system.receiveFreq.H,system.receiveFreq.h,system.receiveFreq.w_H,system.receiveFreq.w_h,system.refType,system.synRef,system.theta,system.thetaRef,system.thetaRel,system.w_nom,time,voltage1.S_nom,voltage1.V_nom,voltage1.alpha0,voltage1.f,voltage1.fType,voltage1.neutral.i,voltage1.neutral.v,voltage1.pol,voltage1.puUnits,voltage1.term.i[1],voltage1.term.i[2],voltage1.term.v[1],voltage1.term.v[2],voltage1.use_vPhasor_in,voltage1.v0eff,voltage2.S_nom,voltage2.V_nom,voltage2.alpha0,voltage2.f,voltage2.fType,voltage2.neutral.i,voltage2.neutral.v,voltage2.pol,voltage2.puUnits,voltage2.term.i[1],voltage2.term.i[2],voltage2.term.v[1],voltage2.term.v[2],voltage2.use_vPhasor_in,voltage2.v0eff filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.diff.mat", vars={"meter.v", "meter.p", "meter.i"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_OMSimulator-cs-euler.diff.ref.mat", vars={"meter.v", "meter.p", "meter.i"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy_res.csv --output-variables meter.i meter.p meter.v --start-time 0 --stop-time 0.2 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ../PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault.fmu) > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode_res.csv --output-variables meter.i meter.p meter.v --start-time 0 --stop-time 0.2 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0001 ../PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Fault_fmpy-fmi3-cs-cvode.fmu) > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Fault.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: 6.320880270563066]