Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001264/0.001264, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001347/0.001347, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1648/0.1648, allocations: 29.44 MB / 290.1 MB, free: 3.281 MB / 270.1 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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.518e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007873/0.007899, allocations: 5.978 MB / 436.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.01049, allocations: 1.359 MB / 438.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.01075, allocations: 31.75 kB / 438.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.01125, allocations: 146.8 kB / 438.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.01215, allocations: 429.5 kB / 438.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.01264, allocations: 199.5 kB / 438.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.01385, allocations: 1.11 MB / 440 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.01422, allocations: 217.2 kB / 440.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.0151, allocations: 0.6155 MB / 440.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008079/0.01591, allocations: 0.5104 MB / 441.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.01603, allocations: 68 kB / 441.4 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.01617, allocations: 64 kB / 441.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.01655, allocations: 327.1 kB / 441.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.01689, allocations: 259.5 kB / 442 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009874/0.01788, allocations: 0.8568 MB / 442.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01788, allocations: 0 / 442.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01788, allocations: 0 / 442.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.01789, allocations: 0 / 442.9 MB, free: 5.746 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001975/0.01987, allocations: 0.951 MB / 443.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.0199, allocations: 11.98 kB / 443.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.02005, allocations: 76.52 kB / 443.9 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.02108, allocations: 0.507 MB / 444.4 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.02134, allocations: 224.1 kB / 444.6 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.02144, allocations: 52.38 kB / 444.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.02285, allocations: 0.7771 MB / 445.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.02286, allocations: 7.938 kB / 445.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.02293, allocations: 24 kB / 445.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.02304, allocations: 32.97 kB / 445.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.02454, allocations: 0.7181 MB / 446.2 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.169/0.1936, allocations: 2.322 MB / 448.5 MB, free: 29.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.1952, allocations: 0.6924 MB / 449.2 MB, free: 29.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.1959, allocations: 379.3 kB / 449.6 MB, free: 29.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.1959, allocations: 9.5 kB / 449.6 MB, free: 29.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1959, allocations: 40.5 kB / 449.7 MB, free: 29.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.445e-06/0.1959, allocations: 0 / 449.7 MB, free: 29.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003882/0.1998, allocations: 1.85 MB / 451.5 MB, free: 28.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1999, allocations: 84.14 kB / 451.6 MB, free: 28.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.2002, allocations: 368.5 kB / 452 MB, free: 28.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2003, allocations: 34.17 kB / 452 MB, free: 28.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2004, allocations: 296 kB / 452.3 MB, free: 28.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2005, allocations: 186.5 kB / 452.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.2007, allocations: 96.42 kB / 452.5 MB, free: 28.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.2007, allocations: 353.8 kB / 452.9 MB, free: 27.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.2013, allocations: 280.5 kB / 453.2 MB, free: 27.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.2018, allocations: 376.2 kB / 453.5 MB, free: 27.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.2029, allocations: 0.6505 MB / 454.2 MB, free: 27.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2029, allocations: 1.562 kB / 454.2 MB, free: 27.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001442/0.2043, allocations: 0.7985 MB / 455 MB, free: 27.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2043, allocations: 5.812 kB / 455 MB, free: 27.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2044, allocations: 6.344 kB / 455 MB, free: 27.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.2046, allocations: 79.05 kB / 455.1 MB, free: 27.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.2062, allocations: 302.1 kB / 455.4 MB, free: 27.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.2108, allocations: 6.012 MB / 461.4 MB, free: 21.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.2113, allocations: 40.09 kB / 461.4 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.2113, allocations: 24.11 kB / 461.4 MB, free: 21.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.000288/0.2116, allocations: 243.6 kB / 461.7 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.2117, allocations: 50.34 kB / 461.7 MB, free: 21.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.2131, allocations: 0.7467 MB / 462.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.2131, allocations: 6.406 kB / 462.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2131, allocations: 1.75 kB / 462.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2131, allocations: 2.812 kB / 462.5 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.2157, allocations: 1.435 MB / 463.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.2157, allocations: 6.594 kB / 463.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.2175, allocations: 324 kB / 464.2 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002585/0.2177, allocations: 92.12 kB / 464.3 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.2178, allocations: 15.72 kB / 464.4 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.2193, allocations: 2.91 MB / 467.3 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2193, allocations: 3.625 kB / 467.3 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.2213, allocations: 1.241 MB / 468.5 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.2214, allocations: 40.45 kB / 468.5 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.2215, allocations: 14.89 kB / 468.6 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.2219, allocations: 38.42 kB / 468.6 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.222, allocations: 51.97 kB / 468.6 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2221, allocations: 17.33 kB / 468.7 MB, free: 17.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.2223, allocations: 252.6 kB / 468.9 MB, free: 17 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2223, allocations: 0 / 468.9 MB, free: 17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000662/0.223, allocations: 147.2 kB / 469.1 MB, free: 16.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001245/0.2231, allocations: 112.3 kB / 469.2 MB, free: 16.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.2258, allocations: 1.066 MB / 470.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2258, allocations: 0 / 470.2 MB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.2279, allocations: 0.7766 MB / 471 MB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.2286, allocations: 120.3 kB / 471.1 MB, free: 16.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.2316, allocations: 1.495 MB / 472.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.232, allocations: 346.9 kB / 473 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003558/0.2323, allocations: 118.7 kB / 473.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.2325, allocations: 40.16 kB / 473.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2325, allocations: 0 / 473.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01199/0.2445, allocations: 7.388 MB / 480.5 MB, free: 11.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.799719922244549]