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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 112.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2129/0.2129, allocations: 38.55 MB / 346.3 MB, free: 2.145 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002063/0.002063, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3485, allocations: 61.3 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008597/0.3571, allocations: 6.437 MB / 0.5393 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.3597, allocations: 1.432 MB / 0.5407 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.3602, allocations: 33.69 kB / 0.5408 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.3608, allocations: 146 kB / 0.5409 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.3618, allocations: 416.9 kB / 0.5413 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.3624, allocations: 193.6 kB / 0.5415 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.3641, allocations: 1.087 MB / 0.5425 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.3645, allocations: 217 kB / 0.5427 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.3656, allocations: 479.8 kB / 0.5432 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.367, allocations: 0.5624 MB / 0.5438 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.3672, allocations: 63.91 kB / 0.5438 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.3674, allocations: 65.56 kB / 0.5439 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.3678, allocations: 315.9 kB / 0.5442 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.3683, allocations: 362.2 kB / 0.5445 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.3693, allocations: 0.8488 MB / 0.5454 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3693, allocations: 0 / 0.5454 GB, free: 12.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.3693, allocations: 0 / 0.5454 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3693, allocations: 0 / 0.5454 GB, free: 12.72 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.002356/0.3717, allocations: 0.9447 MB / 0.5463 GB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3717, allocations: 8.594 kB / 0.5463 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.3719, allocations: 76.91 kB / 0.5464 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.373, allocations: 0.5096 MB / 0.5469 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.3732, allocations: 123.6 kB / 0.547 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3733, allocations: 54.73 kB / 0.547 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3748, allocations: 0.774 MB / 0.5478 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3748, allocations: 1.094 kB / 0.5478 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/0.3749, allocations: 29.22 kB / 0.5478 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.375, allocations: 36.06 kB / 0.5478 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3765, allocations: 0.7184 MB / 0.5485 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/0.3806, allocations: 2.559 MB / 0.551 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3822, allocations: 0.6926 MB / 0.5517 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.3829, allocations: 381 kB / 0.5521 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.383, allocations: 9.047 kB / 0.5521 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.383, allocations: 38.19 kB / 0.5521 GB, free: 8.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.395e-06/0.383, allocations: 0 / 0.5521 GB, free: 8.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004432/0.3874, allocations: 1.85 MB / 0.5539 GB, free: 6.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.3875, allocations: 85.55 kB / 0.554 GB, free: 6.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.388, allocations: 405.8 kB / 0.5544 GB, free: 5.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.388, allocations: 33.7 kB / 0.5544 GB, free: 5.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.3883, allocations: 293 kB / 0.5547 GB, free: 5.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.3884, allocations: 186.5 kB / 0.5549 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002119/0.3887, allocations: 94.34 kB / 0.555 GB, free: 5.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3888, allocations: 362.8 kB / 0.5553 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.3894, allocations: 269.1 kB / 0.5556 GB, free: 4.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.3901, allocations: 386 kB / 0.556 GB, free: 4.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.3914, allocations: 0.6489 MB / 0.5566 GB, free: 3.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3914, allocations: 0 / 0.5566 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001627/0.393, allocations: 0.8032 MB / 0.5574 GB, free: 2.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3931, allocations: 8 kB / 0.5574 GB, free: 2.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3931, allocations: 8 kB / 0.5574 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.3934, allocations: 73.61 kB / 0.5575 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.395, allocations: 307.8 kB / 0.5578 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006808/0.4018, allocations: 6.122 MB / 0.5637 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/0.4024, allocations: 44.11 kB / 0.5638 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.4024, allocations: 23.98 kB / 0.5638 GB, free: 11.77 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.0004153/0.4028, allocations: 237.6 kB / 0.564 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.4029, allocations: 51.67 kB / 0.5641 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.4045, allocations: 0.7489 MB / 0.5648 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4046, allocations: 8 kB / 0.5648 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4046, allocations: 0 / 0.5648 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.4046, allocations: 3.984 kB / 0.5648 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.4076, allocations: 1.593 MB / 0.5664 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4076, allocations: 0 / 0.5664 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.4094, allocations: 323.8 kB / 0.5667 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.4097, allocations: 85.62 kB / 0.5668 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.4097, allocations: 16 kB / 0.5668 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.4126, allocations: 2.954 MB / 0.5697 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4126, allocations: 8.031 kB / 0.5697 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.415, allocations: 1.239 MB / 0.5709 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4152, allocations: 51.7 kB / 0.5709 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.4153, allocations: 15.94 kB / 0.5709 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4156, allocations: 35.95 kB / 0.571 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4158, allocations: 51.91 kB / 0.571 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.4158, allocations: 16 kB / 0.571 GB, free: 3.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.4162, allocations: 279.1 kB / 0.5713 GB, free: 3.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4162, allocations: 0 / 0.5713 GB, free: 3.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007061/0.4169, allocations: 148 kB / 0.5714 GB, free: 3.559 MB / 414.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.000154/0.417, allocations: 126.3 kB / 0.5716 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.42, allocations: 1.057 MB / 0.5726 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.42, allocations: 0 / 0.5726 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.4221, allocations: 0.7788 MB / 0.5734 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.423, allocations: 154 kB / 0.5735 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.4264, allocations: 1.609 MB / 0.5751 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.4271, allocations: 0.9487 MB / 0.576 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.4274, allocations: 128.7 kB / 0.5761 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4276, allocations: 47.38 kB / 0.5762 GB, free: 14.59 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4276, allocations: 0 / 0.5762 GB, free: 14.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01736/0.4449, allocations: 8.345 MB / 0.5843 GB, free: 6.316 MB / 430.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: 5.328178042545915]