Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 99.98 kB / 19.61 MB, free: 2.727 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 194.5 kB / 22.76 MB, free: 5.457 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 251.4 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1826/0.1826, allocations: 38.51 MB / 345 MB, free: 2.645 MB / 270.1 MB [Timeout remaining time 90] 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.Elementary.Inverter,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.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,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.Inverter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.83 kB / 482.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 61.23 MB / 0.5309 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006553/0.3169, allocations: 6.61 MB / 0.5374 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3191, allocations: 1.326 MB / 0.5387 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.3194, allocations: 28.31 kB / 0.5387 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.3198, allocations: 132.6 kB / 0.5389 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3209, allocations: 421.6 kB / 0.5393 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.3214, allocations: 234.2 kB / 0.5395 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.3227, allocations: 1.117 MB / 0.5406 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.3232, allocations: 319.9 kB / 0.5409 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.3241, allocations: 0.508 MB / 0.5414 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008783/0.3249, allocations: 0.5565 MB / 0.5419 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.3251, allocations: 65.75 kB / 0.542 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3252, allocations: 64.41 kB / 0.542 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.3256, allocations: 346.5 kB / 0.5424 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.3261, allocations: 403.8 kB / 0.5428 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3271, allocations: 0.9227 MB / 0.5437 GB, free: 12.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3271, allocations: 3.984 kB / 0.5437 GB, free: 12.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3271, allocations: 5.062 kB / 0.5437 GB, free: 12.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.3272, allocations: 0 / 0.5437 GB, free: 12.75 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002255/0.3294, allocations: 1.164 MB / 0.5448 GB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3294, allocations: 10.53 kB / 0.5448 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3296, allocations: 87.7 kB / 0.5449 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3307, allocations: 0.6144 MB / 0.5455 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.3309, allocations: 119.7 kB / 0.5456 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.331, allocations: 63.75 kB / 0.5457 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.3327, allocations: 0.8625 MB / 0.5465 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3327, allocations: 1.219 kB / 0.5465 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.3327, allocations: 34.08 kB / 0.5465 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.3329, allocations: 38 kB / 0.5466 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.3341, allocations: 0.6228 MB / 0.5472 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.3383, allocations: 2.75 MB / 0.5499 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.34, allocations: 0.8675 MB / 0.5507 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.3408, allocations: 300.7 kB / 0.551 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3408, allocations: 8.672 kB / 0.551 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007336/0.3416, allocations: 350.7 kB / 0.5513 GB, free: 7.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.3416, allocations: 0 / 0.5513 GB, free: 7.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.004458/0.346, allocations: 1.995 MB / 0.5533 GB, free: 5.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.3461, allocations: 114.9 kB / 0.5534 GB, free: 5.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.3468, allocations: 0.5066 MB / 0.5539 GB, free: 4.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.3468, allocations: 37.7 kB / 0.5539 GB, free: 4.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.3471, allocations: 364.6 kB / 0.5543 GB, free: 4.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3473, allocations: 154.8 kB / 0.5544 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.3475, allocations: 122.1 kB / 0.5545 GB, free: 4.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.3476, allocations: 362.8 kB / 0.5549 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.348, allocations: 229.1 kB / 0.5551 GB, free: 3.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.3485, allocations: 406 kB / 0.5555 GB, free: 3.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.3493, allocations: 0.6172 MB / 0.5561 GB, free: 2.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3493, allocations: 4 kB / 0.5561 GB, free: 2.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001332/0.3506, allocations: 0.8865 MB / 0.557 GB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.3507, allocations: 53.69 kB / 0.557 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3507, allocations: 11.94 kB / 0.557 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.351, allocations: 86 kB / 0.5571 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.3514, allocations: 107.8 kB / 0.5572 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/0.3543, allocations: 3.259 MB / 0.5604 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.3547, allocations: 32.08 kB / 0.5604 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.3548, allocations: 43.97 kB / 0.5605 GB, free: 13.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.3552, allocations: 273.6 kB / 0.5607 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.3553, allocations: 63.55 kB / 0.5608 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.3568, allocations: 0.7042 MB / 0.5615 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.3568, allocations: 8 kB / 0.5615 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3568, allocations: 0 / 0.5615 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.3568, allocations: 3.984 kB / 0.5615 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.3594, allocations: 1.536 MB / 0.563 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3594, allocations: 4 kB / 0.563 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.3597, allocations: 67.95 kB / 0.5631 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.36, allocations: 93.62 kB / 0.5632 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.3601, allocations: 15.98 kB / 0.5632 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.3629, allocations: 3.251 MB / 0.5663 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3629, allocations: 0 / 0.5663 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.365, allocations: 1.065 MB / 0.5674 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.3653, allocations: 172.7 kB / 0.5675 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.3654, allocations: 31.92 kB / 0.5676 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.3657, allocations: 39.94 kB / 0.5676 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.3658, allocations: 35.89 kB / 0.5677 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.3659, allocations: 19.98 kB / 0.5677 GB, free: 5.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.3663, allocations: 354.8 kB / 0.568 GB, free: 5.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3663, allocations: 0 / 0.568 GB, free: 5.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.3671, allocations: 148 kB / 0.5681 GB, free: 5.223 MB / 414.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: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002062/0.3673, allocations: 133.2 kB / 0.5683 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.3689, allocations: 0.8593 MB / 0.5691 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3689, allocations: 8 kB / 0.5691 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.3698, allocations: 477.4 kB / 0.5696 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.3706, allocations: 158.9 kB / 0.5697 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.3735, allocations: 1.579 MB / 0.5713 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.3741, allocations: 0.9682 MB / 0.5722 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3743, allocations: 47.44 kB / 0.5723 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3743, allocations: 0 / 0.5723 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of Templates: time 0.01848/0.3927, allocations: 13.55 MB / 0.5855 GB, free: 3.336 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches