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.001486/0.001486, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001622/0.001622, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.376/1.376, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.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.1821/0.1821, allocations: 38.53 MB / 353.2 MB, free: 12.56 MB / 286.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 493.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2913, allocations: 62.47 MB / 0.5432 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007603/0.2989, allocations: 6.442 MB / 0.5495 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3013, allocations: 1.468 MB / 0.551 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.3015, allocations: 29.56 kB / 0.551 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.3019, allocations: 143 kB / 0.5511 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007551/0.3027, allocations: 424.5 kB / 0.5515 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.3031, allocations: 189.3 kB / 0.5517 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.3042, allocations: 1.088 MB / 0.5528 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.3045, allocations: 224.5 kB / 0.553 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.3052, allocations: 487 kB / 0.5534 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007869/0.306, allocations: 0.5571 MB / 0.554 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-05/0.3061, allocations: 65 kB / 0.5541 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3062, allocations: 69.19 kB / 0.5541 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.3065, allocations: 315.8 kB / 0.5544 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3069, allocations: 362 kB / 0.5548 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.3078, allocations: 0.8523 MB / 0.5556 GB, free: 7.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3078, allocations: 0 / 0.5556 GB, free: 7.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3078, allocations: 5.188 kB / 0.5556 GB, free: 7.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3078, allocations: 0 / 0.5556 GB, free: 7.391 MB / 398.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.001878/0.3096, allocations: 0.9402 MB / 0.5565 GB, free: 6.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3097, allocations: 13.27 kB / 0.5565 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3098, allocations: 72.86 kB / 0.5566 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3108, allocations: 0.523 MB / 0.5571 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.3111, allocations: 219.6 kB / 0.5573 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.912e-05/0.3112, allocations: 59.94 kB / 0.5574 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3124, allocations: 0.7733 MB / 0.5581 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3125, allocations: 0 / 0.5581 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.3125, allocations: 20 kB / 0.5582 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.3126, allocations: 36.97 kB / 0.5582 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.314, allocations: 0.7181 MB / 0.5589 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.3177, allocations: 2.561 MB / 0.5614 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.3192, allocations: 0.6867 MB / 0.5621 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.3198, allocations: 379.3 kB / 0.5624 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3199, allocations: 8.438 kB / 0.5624 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3199, allocations: 38.94 kB / 0.5625 GB, free: 488 kB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 1.663e-06/0.3199, allocations: 4 kB / 0.5625 GB, free: 484 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003815/0.3237, allocations: 1.847 MB / 0.5643 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3238, allocations: 89.48 kB / 0.5644 GB, free: 14.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.3242, allocations: 393.9 kB / 0.5647 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.3242, allocations: 37.7 kB / 0.5648 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.3245, allocations: 289 kB / 0.565 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3246, allocations: 186.4 kB / 0.5652 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3248, allocations: 98.3 kB / 0.5653 GB, free: 13.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3249, allocations: 362.8 kB / 0.5657 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.3255, allocations: 273.1 kB / 0.5659 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.3261, allocations: 382 kB / 0.5663 GB, free: 12.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3273, allocations: 0.6567 MB / 0.5669 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3273, allocations: 0 / 0.5669 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001478/0.3287, allocations: 0.7994 MB / 0.5677 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3288, allocations: 8 kB / 0.5677 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3288, allocations: 4 kB / 0.5677 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.329, allocations: 77.66 kB / 0.5678 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.3304, allocations: 311.6 kB / 0.5681 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.3363, allocations: 6.118 MB / 0.5741 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.3367, allocations: 39.95 kB / 0.5741 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.3367, allocations: 20 kB / 0.5741 GB, free: 3.879 MB / 414.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.000322/0.3371, allocations: 245.7 kB / 0.5744 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.3371, allocations: 55.66 kB / 0.5744 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.3386, allocations: 0.745 MB / 0.5751 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3386, allocations: 11.94 kB / 0.5752 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3386, allocations: 0 / 0.5752 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3386, allocations: 0 / 0.5752 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.3414, allocations: 1.578 MB / 0.5767 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3414, allocations: 0 / 0.5767 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.3429, allocations: 327.7 kB / 0.577 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.3431, allocations: 89.53 kB / 0.5771 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.3432, allocations: 15.98 kB / 0.5771 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.3456, allocations: 2.958 MB / 0.58 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3456, allocations: 4.031 kB / 0.58 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.3477, allocations: 1.239 MB / 0.5812 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3478, allocations: 43.67 kB / 0.5813 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.3479, allocations: 15.94 kB / 0.5813 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.3482, allocations: 39.95 kB / 0.5813 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3483, allocations: 51.84 kB / 0.5814 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.3484, allocations: 20 kB / 0.5814 GB, free: 12.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3487, allocations: 279.1 kB / 0.5816 GB, free: 11.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3487, allocations: 0 / 0.5816 GB, free: 11.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006413/0.3493, allocations: 148 kB / 0.5818 GB, free: 11.67 MB / 430.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.0001363/0.3495, allocations: 115.1 kB / 0.5819 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.352, allocations: 1.057 MB / 0.5829 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.352, allocations: 0 / 0.5829 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.3538, allocations: 0.7786 MB / 0.5837 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.3545, allocations: 144.5 kB / 0.5838 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.3576, allocations: 1.666 MB / 0.5854 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.3582, allocations: 0.9369 MB / 0.5864 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.3584, allocations: 55.42 kB / 0.5864 GB, free: 6.781 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3584, allocations: 0 / 0.5864 GB, free: 6.781 MB / 430.1 MB Notification: Performance of Templates: time 0.01979/0.3781, allocations: 16.82 MB / 0.6028 GB, free: 5.98 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins1/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: 9.038040681974962]