Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.001188/0.001188, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001228/0.001228, allocations: 165.5 kB / 24.99 MB, free: 8.793 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.9792/0.9792, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2505/0.2505, allocations: 29.42 MB / 291.2 MB, free: 2.516 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.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.[0-9,]+.|meterAC.p_av.[0-9,]+.|meterAC.v.[0-9,]+.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.079e-05, allocations: 2.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009377/0.009408, allocations: 6.788 MB / 376.4 MB, free: 4.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.01364, allocations: 2.087 MB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/0.0143, allocations: 31.75 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.01574, allocations: 0.5131 MB / 379 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.01745, allocations: 0.5828 MB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01848, allocations: 367 kB / 380 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.02043, allocations: 1.333 MB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.02111, allocations: 0.5217 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009525/0.02206, allocations: 0.7559 MB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007588/0.02282, allocations: 0.7248 MB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.02295, allocations: 104 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.02374, allocations: 0.6083 MB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.02408, allocations: 0.5105 MB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.0244, allocations: 387.2 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.02554, allocations: 1.184 MB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.02554, allocations: 0 / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02554, allocations: 0 / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.02556, allocations: 0 / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001787/0.02734, allocations: 1.422 MB / 387.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.02738, allocations: 11.98 kB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000764/0.02814, allocations: 276.1 kB / 387.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.02891, allocations: 0.6289 MB / 388.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.02909, allocations: 325.8 kB / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.02923, allocations: 80.56 kB / 388.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.03025, allocations: 0.8674 MB / 389.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.03027, allocations: 0 / 389.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.286e-05/0.03033, allocations: 32 kB / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.03045, allocations: 77.95 kB / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.03136, allocations: 0.5737 MB / 390.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.03523, allocations: 3.771 MB / 394.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.03608, allocations: 0.577 MB / 394.7 MB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.03653, allocations: 337.8 kB / 395.1 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.172e-05/0.03658, allocations: 16.66 kB / 395.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.03661, allocations: 46.05 kB / 395.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 2.645e-06/0.03661, allocations: 0 / 395.1 MB, free: 1.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.002613/0.03923, allocations: 1.893 MB / 397 MB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.03926, allocations: 86.11 kB / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.03951, allocations: 394.6 kB / 397.5 MB, free: 15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.03956, allocations: 45.64 kB / 397.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.03972, allocations: 403.8 kB / 397.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.03992, allocations: 372.8 kB / 398.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.0401, allocations: 164.3 kB / 398.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.04026, allocations: 0.5587 MB / 399 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.04057, allocations: 201.9 kB / 399.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.04099, allocations: 417.4 kB / 399.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/0.04168, allocations: 0.6426 MB / 400.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.04168, allocations: 4 kB / 400.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001057/0.04274, allocations: 0.805 MB / 401.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.04275, allocations: 4 kB / 401.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.04276, allocations: 4 kB / 401.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.04288, allocations: 40.05 kB / 401.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.04391, allocations: 419.4 kB / 401.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.04695, allocations: 7.561 MB / 409.1 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.04723, allocations: 71.91 kB / 409.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.04728, allocations: 31.98 kB / 409.2 MB, free: 2.645 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.04746, allocations: 212.4 kB / 409.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.0476, allocations: 99.61 kB / 409.5 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.04858, allocations: 0.7856 MB / 410.3 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.296e-05/0.0486, allocations: 20 kB / 410.3 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.0486, allocations: 11.98 kB / 410.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.04861, allocations: 7.922 kB / 410.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.05046, allocations: 1.628 MB / 411.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.05046, allocations: 8.203 kB / 411.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.0516, allocations: 447.4 kB / 412.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.241e-05/0.05168, allocations: 27.67 kB / 412.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.05172, allocations: 23.98 kB / 412.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008419/0.05256, allocations: 2.012 MB / 414.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.05256, allocations: 7.938 kB / 414.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.0539, allocations: 1.225 MB / 415.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.05395, allocations: 59.58 kB / 415.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.05401, allocations: 23.98 kB / 415.8 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.05428, allocations: 63.95 kB / 415.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.05442, allocations: 92.38 kB / 415.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.05446, allocations: 20 kB / 415.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.05461, allocations: 255.1 kB / 416.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05461, allocations: 0 / 416.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000528/0.05514, allocations: 243.9 kB / 416.4 MB, free: 11.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.05538, allocations: 163 kB / 416.6 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.05687, allocations: 1.01 MB / 417.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.05687, allocations: 0 / 417.6 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.05785, allocations: 0.7032 MB / 418.3 MB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.05832, allocations: 140 kB / 418.4 MB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.06118, allocations: 2.02 MB / 420.4 MB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.06135, allocations: 243.9 kB / 420.7 MB, free: 6.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003566/0.06171, allocations: 189.1 kB / 420.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.06187, allocations: 64.48 kB / 420.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.06187, allocations: 0 / 420.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of Templates: time 0.01142/0.07329, allocations: 10.07 MB / 431 MB, free: 12.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.535672234138474]