Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001778/0.001778, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.002079/0.002079, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.461/1.461, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.1853/0.1853, allocations: 38.51 MB / 342.5 MB, free: 8.082 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: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.27 kB / 478.6 MB, free: 33.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 61.24 MB / 0.5272 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008854/0.1195, allocations: 6.657 MB / 0.5337 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1226, allocations: 1.756 MB / 0.5354 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.1231, allocations: 27.88 kB / 0.5355 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007273/0.1238, allocations: 214.4 kB / 0.5357 GB, free: 8.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.1247, allocations: 393.8 kB / 0.536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1252, allocations: 227.7 kB / 0.5363 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1265, allocations: 1.075 MB / 0.5373 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.1271, allocations: 374.3 kB / 0.5377 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.128, allocations: 486.2 kB / 0.5381 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008012/0.1288, allocations: 0.4983 MB / 0.5386 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1289, allocations: 88 kB / 0.5387 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1291, allocations: 84 kB / 0.5388 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.1294, allocations: 279.3 kB / 0.539 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.1299, allocations: 410.2 kB / 0.5394 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1311, allocations: 1.039 MB / 0.5404 GB, free: 3.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1311, allocations: 0 / 0.5404 GB, free: 3.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1311, allocations: 0 / 0.5404 GB, free: 3.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1312, allocations: 4 kB / 0.5404 GB, free: 3.766 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002172/0.1333, allocations: 1.036 MB / 0.5415 GB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1334, allocations: 11.89 kB / 0.5415 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.1335, allocations: 114.6 kB / 0.5416 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.1337, allocations: 80.45 kB / 0.5417 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.1351, allocations: 0.6568 MB / 0.5423 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.1353, allocations: 117 kB / 0.5424 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1354, allocations: 52 kB / 0.5425 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.1369, allocations: 0.7499 MB / 0.5432 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1369, allocations: 0 / 0.5432 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.137, allocations: 24 kB / 0.5432 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.137, allocations: 16 kB / 0.5432 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.1383, allocations: 0.6127 MB / 0.5438 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.1424, allocations: 2.456 MB / 0.5462 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.1433, allocations: 397 kB / 0.5466 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004378/0.1437, allocations: 191.1 kB / 0.5468 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1437, allocations: 4.281 kB / 0.5468 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/0.1442, allocations: 247.4 kB / 0.547 GB, free: 12.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.023e-06/0.1442, allocations: 0 / 0.547 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00311/0.1474, allocations: 0.871 MB / 0.5479 GB, free: 11.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1475, allocations: 140.4 kB / 0.548 GB, free: 11.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.148, allocations: 409.9 kB / 0.5484 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.148, allocations: 29.7 kB / 0.5484 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1483, allocations: 316.8 kB / 0.5487 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1484, allocations: 134.9 kB / 0.5489 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1485, allocations: 82.12 kB / 0.5489 GB, free: 10.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1487, allocations: 350.8 kB / 0.5493 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.149, allocations: 128.8 kB / 0.5494 GB, free: 10.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.1494, allocations: 250 kB / 0.5496 GB, free: 9.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.1509, allocations: 0.6562 MB / 0.5503 GB, free: 9.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1509, allocations: 3.984 kB / 0.5503 GB, free: 9.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001042/0.152, allocations: 0.5174 MB / 0.5508 GB, free: 8.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.152, allocations: 8 kB / 0.5508 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.152, allocations: 4.469 kB / 0.5508 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.1525, allocations: 156.7 kB / 0.5509 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1527, allocations: 75.91 kB / 0.551 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.1563, allocations: 2.271 MB / 0.5532 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.1567, allocations: 55.61 kB / 0.5533 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.1567, allocations: 24.05 kB / 0.5533 GB, free: 5.938 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003393/0.1571, allocations: 240.5 kB / 0.5535 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1571, allocations: 47.66 kB / 0.5536 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1584, allocations: 482.5 kB / 0.5541 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1584, allocations: 4 kB / 0.5541 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1584, allocations: 0 / 0.5541 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1584, allocations: 7.984 kB / 0.5541 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.1592, allocations: 0.6824 MB / 0.5547 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1592, allocations: 0 / 0.5547 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.1595, allocations: 47.92 kB / 0.5548 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004186/0.1599, allocations: 144.7 kB / 0.5549 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.1599, allocations: 15.98 kB / 0.5549 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.1632, allocations: 2.252 MB / 0.5571 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1632, allocations: 0 / 0.5571 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.1647, allocations: 0.6806 MB / 0.5578 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.1649, allocations: 160.7 kB / 0.5579 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.165, allocations: 15.92 kB / 0.558 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1652, allocations: 19.98 kB / 0.558 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1653, allocations: 31.95 kB / 0.558 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.1653, allocations: 12 kB / 0.558 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.1657, allocations: 283.1 kB / 0.5583 GB, free: 0.582 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 0.5583 GB, free: 0.582 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.1662, allocations: 163.6 kB / 0.5584 GB, free: 432 kB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/0.1681, allocations: 1.25 MB / 0.5597 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.1691, allocations: 0.4911 MB / 0.5601 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1691, allocations: 4.312 kB / 0.5602 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.1697, allocations: 322.3 kB / 0.5605 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.1704, allocations: 163 kB / 0.5606 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00698/0.1773, allocations: 4.572 MB / 0.5651 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.178, allocations: 0.9326 MB / 0.566 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.1783, allocations: 84.64 kB / 0.5661 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.1786, allocations: 199.4 kB / 0.5663 GB, free: 8.117 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1786, allocations: 0 / 0.5663 GB, free: 8.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.2228, allocations: 13.34 MB / 0.5793 GB, free: 10.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.14, allocations: 7.922 kB / 0.5793 GB, free: 10.96 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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: 16.1296022310853]