Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001767/0.001767, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001244/0.001244, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9824/0.9824, allocations: 177.1 MB / 205 MB, free: 5.625 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.2412/0.2412, allocations: 29.42 MB / 290.9 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.32e-05, allocations: 9.547 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004321/0.004345, allocations: 4.306 MB / 374 MB, free: 6.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.006466, allocations: 1.551 MB / 375.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.006725, allocations: 19.81 kB / 375.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.007376, allocations: 246.8 kB / 375.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.007918, allocations: 274.3 kB / 376 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.008588, allocations: 267.2 kB / 376.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009391/0.009527, allocations: 0.6155 MB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.009895, allocations: 220.4 kB / 377.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.01046, allocations: 407 kB / 377.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.01079, allocations: 291.2 kB / 377.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.01084, allocations: 36 kB / 377.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.01111, allocations: 147.7 kB / 378 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.0113, allocations: 239.4 kB / 378.2 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.01143, allocations: 163.7 kB / 378.4 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.01195, allocations: 474.3 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01195, allocations: 0 / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01195, allocations: 0 / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.01196, allocations: 0 / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0009123/0.01288, allocations: 0.7938 MB / 379.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.01291, allocations: 15.98 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.01344, allocations: 180.3 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.01385, allocations: 349.7 kB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01387, allocations: 29.38 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.01397, allocations: 48.73 kB / 380.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.01451, allocations: 0.5202 MB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.01453, allocations: 0 / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.01456, allocations: 20 kB / 380.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.074e-05/0.01465, allocations: 44.97 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.01499, allocations: 237.6 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.01738, allocations: 3.594 MB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.01766, allocations: 158.4 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.01775, allocations: 63.41 kB / 384.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.01777, allocations: 12 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.0178, allocations: 37.38 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.0178, allocations: 3.984 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009337/0.01874, allocations: 0.6227 MB / 385.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.01878, allocations: 85.11 kB / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.01901, allocations: 382.2 kB / 386 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01903, allocations: 25.7 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.01918, allocations: 354.6 kB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.01923, allocations: 91.22 kB / 386.5 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.01932, allocations: 95.8 kB / 386.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01945, allocations: 0.5157 MB / 387.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.01956, allocations: 52.95 kB / 387.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.01976, allocations: 335.8 kB / 387.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.02015, allocations: 438.2 kB / 387.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.02016, allocations: 8 kB / 387.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006302/0.02079, allocations: 448.1 kB / 388.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.02081, allocations: 8 kB / 388.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003046/0.02111, allocations: 199.4 kB / 388.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.02152, allocations: 107.8 kB / 388.6 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.02169, allocations: 91.77 kB / 388.7 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.02365, allocations: 3.649 MB / 392.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.02382, allocations: 27.94 kB / 392.4 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.02384, allocations: 20 kB / 392.4 MB, free: 3.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.02405, allocations: 184.4 kB / 392.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.02413, allocations: 39.75 kB / 392.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.02447, allocations: 220.9 kB / 392.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.02447, allocations: 4 kB / 392.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.02447, allocations: 0 / 392.9 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02448, allocations: 7.922 kB / 392.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.02512, allocations: 0.6292 MB / 393.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02512, allocations: 0 / 393.5 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.0253, allocations: 59.97 kB / 393.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.0253, allocations: 0 / 393.6 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.02532, allocations: 16 kB / 393.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.02532, allocations: 4 kB / 393.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.02533, allocations: 0 / 393.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.0257, allocations: 424.7 kB / 394 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.02577, allocations: 55.73 kB / 394.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.0258, allocations: 4 kB / 394.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.02587, allocations: 11.98 kB / 394.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.02592, allocations: 20.09 kB / 394.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.02593, allocations: 8 kB / 394.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.02609, allocations: 234.9 kB / 394.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02609, allocations: 4 kB / 394.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.02642, allocations: 100 kB / 394.4 MB, free: 1.051 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.02653, allocations: 111.2 kB / 394.5 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.02718, allocations: 0.5833 MB / 395.1 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.02719, allocations: 0 / 395.1 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.02729, allocations: 86.28 kB / 395.2 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.0277, allocations: 69.14 kB / 395.3 MB, free: 164 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.02914, allocations: 0.8881 MB / 396.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02924, allocations: 141.2 kB / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.02942, allocations: 103.1 kB / 396.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.02949, allocations: 28.5 kB / 396.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02949, allocations: 0 / 396.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of Templates: time 0.007311/0.0368, allocations: 4.056 MB / 400.5 MB, free: 10.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.127707685343921]