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.0009369/0.0009369, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001162/0.001162, allocations: 172.3 kB / 25.61 MB, free: 8.883 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.9886/0.9886, allocations: 177.1 MB / 206 MB, free: 4.492 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.1567/0.1567, allocations: 29.43 MB / 292 MB, free: 2.738 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.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 1.613e-06/1.613e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.552e-05, allocations: 2.312 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.004431/0.004446, allocations: 5.781 MB / 376.7 MB, free: 26.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.007089, allocations: 2.079 MB / 378.7 MB, free: 24.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.007406, allocations: 35.69 kB / 378.8 MB, free: 24.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007875/0.008193, allocations: 366.1 kB / 379.1 MB, free: 24.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007627/0.008956, allocations: 0.5634 MB / 379.7 MB, free: 23.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.009494, allocations: 370.9 kB / 380.1 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.01027, allocations: 1.317 MB / 381.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004505/0.01072, allocations: 0.5334 MB / 381.9 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000741/0.01146, allocations: 0.8184 MB / 382.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.01204, allocations: 0.6742 MB / 383.4 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.01214, allocations: 100 kB / 383.5 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.01271, allocations: 0.5927 MB / 384.1 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.01296, allocations: 0.4988 MB / 384.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.0132, allocations: 379.2 kB / 385 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008094/0.01401, allocations: 1.157 MB / 386.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01401, allocations: 0 / 386.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01401, allocations: 0 / 386.1 MB, free: 17.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.01402, allocations: 0 / 386.1 MB, free: 17.04 MB / 314.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.001343/0.01536, allocations: 1.32 MB / 387.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.0154, allocations: 8.031 kB / 387.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.01597, allocations: 252.1 kB / 387.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.01648, allocations: 0.541 MB / 388.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.01661, allocations: 321.8 kB / 388.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.01673, allocations: 84.5 kB / 388.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.01743, allocations: 0.7931 MB / 389.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.01745, allocations: 11.92 kB / 389.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.0175, allocations: 28 kB / 389.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.01761, allocations: 77.95 kB / 389.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.01817, allocations: 449.5 kB / 390 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.02106, allocations: 3.533 MB / 393.5 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.02163, allocations: 0.5143 MB / 394 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.02189, allocations: 277.9 kB / 394.3 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.02194, allocations: 16.66 kB / 394.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.02196, allocations: 45.98 kB / 394.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 2.375e-06/0.02196, allocations: 0 / 394.4 MB, free: 8.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.001742/0.0237, allocations: 1.484 MB / 395.8 MB, free: 6.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.02373, allocations: 90.05 kB / 395.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.0239, allocations: 394.5 kB / 396.3 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.02394, allocations: 41.7 kB / 396.4 MB, free: 6.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.02404, allocations: 403.7 kB / 396.8 MB, free: 5.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.02417, allocations: 368.8 kB / 397.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.02433, allocations: 172.2 kB / 397.3 MB, free: 5.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.0244, allocations: 0.5663 MB / 397.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.02456, allocations: 149.9 kB / 398 MB, free: 4.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.02478, allocations: 369.8 kB / 398.4 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.02522, allocations: 0.5565 MB / 398.9 MB, free: 3.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02523, allocations: 8 kB / 398.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0007025/0.02593, allocations: 0.7037 MB / 399.6 MB, free: 2.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.02594, allocations: 8 kB / 399.6 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02595, allocations: 7.984 kB / 399.6 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.872e-05/0.02604, allocations: 31.66 kB / 399.7 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.02697, allocations: 387.6 kB / 400.1 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.02986, allocations: 7.462 MB / 407.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.03011, allocations: 39.97 kB / 407.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.03016, allocations: 23.98 kB / 407.6 MB, free: 10.56 MB / 330.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.000185/0.03034, allocations: 208.3 kB / 407.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.03049, allocations: 99.58 kB / 407.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.0313, allocations: 0.6996 MB / 408.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.03132, allocations: 27.98 kB / 408.6 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.03132, allocations: 0 / 408.6 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.03133, allocations: 3.984 kB / 408.6 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.03329, allocations: 1.418 MB / 410 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.03329, allocations: 4 kB / 410 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.03438, allocations: 407.7 kB / 410.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.181e-05/0.03445, allocations: 39.69 kB / 410.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.0345, allocations: 31.92 kB / 410.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.03524, allocations: 1.973 MB / 412.5 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03524, allocations: 4 kB / 412.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.03634, allocations: 1.084 MB / 413.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.03639, allocations: 63.45 kB / 413.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/0.03645, allocations: 19.98 kB / 413.6 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.03668, allocations: 35.97 kB / 413.7 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.03678, allocations: 64.55 kB / 413.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.03682, allocations: 19.98 kB / 413.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.03693, allocations: 243 kB / 414 MB, free: 3.871 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03693, allocations: 4 kB / 414 MB, free: 3.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.03749, allocations: 235.9 kB / 414.2 MB, free: 3.637 MB / 330.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.0002245/0.03771, allocations: 167 kB / 414.4 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.03899, allocations: 0.9205 MB / 415.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.039, allocations: 0 / 415.3 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.03989, allocations: 0.6641 MB / 416 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.04035, allocations: 142.3 kB / 416.1 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.04325, allocations: 1.983 MB / 418.1 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.04344, allocations: 255.9 kB / 418.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000274/0.04371, allocations: 89.33 kB / 418.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.04426, allocations: 210.1 kB / 418.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.913e-06/0.04426, allocations: 0 / 418.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of Templates: time 0.01497/0.05923, allocations: 11.04 MB / 429.7 MB, free: 4.191 MB / 346.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.3747171591967344]