Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.001831/0.001831, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002272/0.002272, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.1876/0.1876, allocations: 38.55 MB / 353.2 MB, free: 12.42 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.Elementary.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.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.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.002177/0.002177, allocations: 74.55 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2957, allocations: 62.45 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008175/0.3039, allocations: 6.068 MB / 0.5491 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.3068, allocations: 1.391 MB / 0.5505 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.3072, allocations: 34.44 kB / 0.5505 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.3078, allocations: 150.8 kB / 0.5506 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009236/0.3087, allocations: 426.3 kB / 0.551 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.3092, allocations: 218.5 kB / 0.5512 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3105, allocations: 1.117 MB / 0.5523 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.3109, allocations: 217.7 kB / 0.5525 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000792/0.3116, allocations: 0.489 MB / 0.553 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/0.3125, allocations: 0.5507 MB / 0.5536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3126, allocations: 65.22 kB / 0.5536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3127, allocations: 67.06 kB / 0.5537 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003323/0.3131, allocations: 322 kB / 0.554 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003605/0.3134, allocations: 309.3 kB / 0.5543 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.3144, allocations: 0.885 MB / 0.5551 GB, free: 7.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3144, allocations: 4.969 kB / 0.5552 GB, free: 7.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3144, allocations: 0 / 0.5552 GB, free: 7.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3144, allocations: 0 / 0.5552 GB, free: 7.715 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002052/0.3165, allocations: 0.9696 MB / 0.5561 GB, free: 6.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3165, allocations: 15.98 kB / 0.5561 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3167, allocations: 80.45 kB / 0.5562 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.3178, allocations: 0.5156 MB / 0.5567 GB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.3181, allocations: 223.6 kB / 0.5569 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3182, allocations: 56 kB / 0.557 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.3197, allocations: 0.7849 MB / 0.5577 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3197, allocations: 0 / 0.5577 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.3197, allocations: 24 kB / 0.5578 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.3198, allocations: 32.97 kB / 0.5578 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.3213, allocations: 0.6908 MB / 0.5585 GB, free: 4.414 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004288/0.3256, allocations: 2.42 MB / 0.5608 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.3274, allocations: 0.7036 MB / 0.5615 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/0.328, allocations: 312.4 kB / 0.5618 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.3281, allocations: 8 kB / 0.5618 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.3281, allocations: 38.55 kB / 0.5619 GB, free: 0.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=38): time 2.114e-06/0.3281, allocations: 0 / 0.5619 GB, free: 0.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=39): time 0.003947/0.332, allocations: 1.645 MB / 0.5635 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.3321, allocations: 81.11 kB / 0.5635 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.3326, allocations: 397.4 kB / 0.5639 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.3327, allocations: 33.7 kB / 0.5639 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.333, allocations: 316.8 kB / 0.5642 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3331, allocations: 154.6 kB / 0.5644 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3333, allocations: 86.14 kB / 0.5645 GB, free: 14.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3334, allocations: 354.8 kB / 0.5648 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.334, allocations: 240.9 kB / 0.565 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.3346, allocations: 349.7 kB / 0.5654 GB, free: 13.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3358, allocations: 0.5781 MB / 0.5659 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3358, allocations: 4 kB / 0.5659 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00146/0.3372, allocations: 0.6973 MB / 0.5666 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3372, allocations: 18.58 kB / 0.5666 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.3373, allocations: 4 kB / 0.5666 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.3375, allocations: 74.02 kB / 0.5667 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.3391, allocations: 287.5 kB / 0.567 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006725/0.3458, allocations: 6.003 MB / 0.5729 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.3462, allocations: 35.97 kB / 0.5729 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.3463, allocations: 19.98 kB / 0.5729 GB, free: 4.895 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0003943/0.3467, allocations: 241.8 kB / 0.5731 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.3467, allocations: 47.66 kB / 0.5732 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.3482, allocations: 0.6544 MB / 0.5738 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3482, allocations: 4 kB / 0.5738 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3482, allocations: 4 kB / 0.5738 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3482, allocations: 0 / 0.5738 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.3508, allocations: 1.255 MB / 0.5751 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3508, allocations: 4 kB / 0.5751 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/0.3525, allocations: 295.6 kB / 0.5753 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.3528, allocations: 93.52 kB / 0.5754 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.3528, allocations: 11.98 kB / 0.5754 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/0.3555, allocations: 2.905 MB / 0.5783 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3555, allocations: 3.938 kB / 0.5783 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.3575, allocations: 1.045 MB / 0.5793 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3576, allocations: 51.7 kB / 0.5794 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.3577, allocations: 12 kB / 0.5794 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.358, allocations: 31.95 kB / 0.5794 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3581, allocations: 39.88 kB / 0.5794 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.3582, allocations: 12 kB / 0.5794 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.3585, allocations: 263.1 kB / 0.5797 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3585, allocations: 4 kB / 0.5797 GB, free: 13.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006806/0.3592, allocations: 140 kB / 0.5798 GB, free: 13.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.0001498/0.3593, allocations: 103.2 kB / 0.5799 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.362, allocations: 0.977 MB / 0.5809 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.362, allocations: 0 / 0.5809 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.364, allocations: 0.7042 MB / 0.5816 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.3648, allocations: 127.3 kB / 0.5817 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.3675, allocations: 1.499 MB / 0.5832 GB, free: 9.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.3679, allocations: 349.2 kB / 0.5835 GB, free: 9.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.368, allocations: 35.44 kB / 0.5835 GB, free: 9.57 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.368, allocations: 0 / 0.5835 GB, free: 9.57 MB / 430.1 MB Notification: Performance of Templates: time 0.02264/0.3907, allocations: 16.83 MB / 0.6 GB, free: 8.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.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.587104074191302]