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.001543/0.001543, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00166/0.00166, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3485/0.3485, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.311e-05/3.518e-05, allocations: 8.984 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009335/0.00937, allocations: 5.982 MB / 374.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.01254, allocations: 1.363 MB / 376.2 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.01291, allocations: 35.69 kB / 376.3 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005827/0.01349, allocations: 142.8 kB / 376.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.01461, allocations: 437.5 kB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.01516, allocations: 191.5 kB / 377 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.01661, allocations: 1.106 MB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005032/0.01711, allocations: 213.2 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.01825, allocations: 0.6387 MB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009478/0.0192, allocations: 0.4987 MB / 379.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.01932, allocations: 64 kB / 379.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.01947, allocations: 68 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.01986, allocations: 327.2 kB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.02025, allocations: 255.5 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.02138, allocations: 0.8568 MB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.02139, allocations: 4 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02139, allocations: 0 / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.0214, allocations: 0 / 381 MB, free: 15.12 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00235/0.02375, allocations: 0.9355 MB / 382 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.02381, allocations: 19.97 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.02407, allocations: 116.5 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.02522, allocations: 0.5383 MB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.02551, allocations: 216.1 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.02562, allocations: 56.38 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.02713, allocations: 0.781 MB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.02715, allocations: 3.984 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.02722, allocations: 23.94 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.02735, allocations: 40.91 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.02892, allocations: 0.7143 MB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.03317, allocations: 2.351 MB / 386.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.03486, allocations: 0.6908 MB / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.03561, allocations: 378.3 kB / 387.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.03565, allocations: 8.5 kB / 387.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.0357, allocations: 43.06 kB / 387.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.464e-06/0.0357, allocations: 0 / 387.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.004608/0.04031, allocations: 1.87 MB / 389.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/0.0404, allocations: 85.55 kB / 389.9 MB, free: 5.977 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.04088, allocations: 365.6 kB / 390.2 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.04094, allocations: 37.7 kB / 390.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.04118, allocations: 289 kB / 390.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.04139, allocations: 186.3 kB / 390.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.04159, allocations: 98.3 kB / 390.8 MB, free: 4.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.0418, allocations: 362.8 kB / 391.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.04241, allocations: 273.1 kB / 391.5 MB, free: 4.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/0.0431, allocations: 382 kB / 391.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.04444, allocations: 0.653 MB / 392.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.04444, allocations: 0 / 392.5 MB, free: 3.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001873/0.04631, allocations: 0.8149 MB / 393.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.04633, allocations: 4 kB / 393.3 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.04634, allocations: 4 kB / 393.3 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.04666, allocations: 81.94 kB / 393.4 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.04826, allocations: 307.5 kB / 393.7 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/0.05549, allocations: 6.015 MB / 399.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.05598, allocations: 39.98 kB / 399.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.05603, allocations: 24.25 kB / 399.8 MB, free: 11.55 MB / 378.7 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.0004293/0.05646, allocations: 245.6 kB / 400 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.05659, allocations: 67.64 kB / 400.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.05833, allocations: 0.7464 MB / 400.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.05834, allocations: 4 kB / 400.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.05835, allocations: 4 kB / 400.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.05835, allocations: 3.984 kB / 400.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.06137, allocations: 1.438 MB / 402.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.06138, allocations: 4 kB / 402.3 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.06308, allocations: 331.7 kB / 402.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003361/0.06342, allocations: 97.62 kB / 402.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.06346, allocations: 12 kB / 402.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.06628, allocations: 2.897 MB / 405.6 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.06628, allocations: 4.031 kB / 405.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.06886, allocations: 1.257 MB / 406.9 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.06898, allocations: 51.7 kB / 406.9 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.06904, allocations: 11.94 kB / 406.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.06941, allocations: 39.95 kB / 407 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.06956, allocations: 51.91 kB / 407 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.0696, allocations: 12 kB / 407 MB, free: 3.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003475/0.06994, allocations: 259.2 kB / 407.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06994, allocations: 0 / 407.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007346/0.07068, allocations: 148 kB / 407.4 MB, free: 3.562 MB / 378.7 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.000175/0.07085, allocations: 111.1 kB / 407.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.07375, allocations: 1.065 MB / 408.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.07375, allocations: 0 / 408.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.07587, allocations: 0.7825 MB / 409.4 MB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.07669, allocations: 128.8 kB / 409.5 MB, free: 1.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.08002, allocations: 1.495 MB / 411 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.08045, allocations: 344.8 kB / 411.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.08081, allocations: 124.5 kB / 411.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.08096, allocations: 40.5 kB / 411.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.08096, allocations: 0 / 411.5 MB, free: 15.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01518/0.09614, allocations: 7.423 MB / 418.9 MB, free: 8.043 MB / 394.7 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: 5.190939818974584]