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.00156/0.00156, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001439/0.001439, allocations: 161 kB / 24.55 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.9978/0.9978, allocations: 177.1 MB / 205 MB, free: 5.633 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.2548/0.2548, allocations: 29.41 MB / 290.9 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 1.243e-06/1.243e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.948e-05, allocations: 5.266 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.005491/0.00551, allocations: 5.822 MB / 375.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.008065, allocations: 2.095 MB / 377.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.008323, allocations: 31.75 kB / 377.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.008974, allocations: 230.5 kB / 377.8 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000803/0.009777, allocations: 0.579 MB / 378.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.01033, allocations: 371 kB / 378.7 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.01147, allocations: 1.317 MB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.012, allocations: 0.5333 MB / 380.6 MB, free: 16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.01266, allocations: 0.7365 MB / 381.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.01329, allocations: 0.7249 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.0134, allocations: 104 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.01404, allocations: 0.6083 MB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.01436, allocations: 0.5027 MB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.01465, allocations: 395.2 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009913/0.01564, allocations: 1.18 MB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.01564, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01564, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.01566, allocations: 0 / 384.8 MB, free: 11.75 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.001796/0.01745, allocations: 1.426 MB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01749, allocations: 15.98 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.01843, allocations: 268 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.01921, allocations: 0.6327 MB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.0194, allocations: 325.8 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.01954, allocations: 84.55 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/0.02053, allocations: 0.8558 MB / 388.4 MB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.02055, allocations: 8 kB / 388.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.02061, allocations: 31.98 kB / 388.5 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.02073, allocations: 89.88 kB / 388.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008311/0.02156, allocations: 0.562 MB / 389.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.0252, allocations: 3.778 MB / 392.9 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.02601, allocations: 0.5731 MB / 393.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008734/0.02688, allocations: 333.9 kB / 393.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-05/0.02694, allocations: 12.66 kB / 393.8 MB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.02697, allocations: 46.05 kB / 393.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=101): time 2.234e-06/0.02697, allocations: 0 / 393.9 MB, free: 2.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.002625/0.0296, allocations: 1.889 MB / 395.7 MB, free: 480 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.02964, allocations: 94.05 kB / 395.8 MB, free: 364 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.02992, allocations: 394.8 kB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.02996, allocations: 41.7 kB / 396.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.03013, allocations: 399.8 kB / 396.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.03032, allocations: 372.8 kB / 397 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.0305, allocations: 164.3 kB / 397.2 MB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.03065, allocations: 0.5586 MB / 397.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.03095, allocations: 201.9 kB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.03133, allocations: 413.8 kB / 398.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/0.03201, allocations: 0.6503 MB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.03202, allocations: 4 kB / 399 MB, free: 13.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001001/0.03302, allocations: 0.8092 MB / 399.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.03304, allocations: 8 kB / 399.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.03305, allocations: 8 kB / 399.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.03319, allocations: 27.67 kB / 399.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.0342, allocations: 423.5 kB / 400.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.03749, allocations: 7.553 MB / 407.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.03809, allocations: 71.91 kB / 407.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.03815, allocations: 35.98 kB / 407.9 MB, free: 3.602 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.0001962/0.03835, allocations: 200.3 kB / 408.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.03849, allocations: 95.62 kB / 408.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.03949, allocations: 0.7856 MB / 409 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.03951, allocations: 35.91 kB / 409 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.03952, allocations: 96 / 409 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.03953, allocations: 11.91 kB / 409 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.04144, allocations: 1.64 MB / 410.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.04144, allocations: 4 kB / 410.7 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.04256, allocations: 443.6 kB / 411.1 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.666e-05/0.04264, allocations: 31.67 kB / 411.1 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.04269, allocations: 19.98 kB / 411.2 MB, free: 252 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/0.04345, allocations: 2.012 MB / 413.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.04345, allocations: 4 kB / 413.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.04482, allocations: 1.232 MB / 414.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.04487, allocations: 63.56 kB / 414.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.04493, allocations: 16 kB / 414.5 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.04519, allocations: 63.91 kB / 414.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.04532, allocations: 84.45 kB / 414.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.04536, allocations: 27.98 kB / 414.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.04551, allocations: 255.1 kB / 414.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04551, allocations: 0 / 414.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007982/0.04631, allocations: 239.9 kB / 415.1 MB, free: 12.09 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.0002383/0.04654, allocations: 171 kB / 415.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.04802, allocations: 1.006 MB / 416.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.04803, allocations: 0 / 416.3 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.04899, allocations: 0.711 MB / 417 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.04947, allocations: 132.8 kB / 417.2 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.05229, allocations: 2.016 MB / 419.2 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.05245, allocations: 255.9 kB / 419.4 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.05279, allocations: 189.1 kB / 419.6 MB, free: 7.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.05296, allocations: 60.48 kB / 419.7 MB, free: 7.422 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.05297, allocations: 4 kB / 419.7 MB, free: 7.418 MB / 394.7 MB Notification: Performance of Templates: time 0.01247/0.06544, allocations: 10.07 MB / 429.7 MB, free: 13.47 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.784364442806691]