Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001827/0.001827, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.002614/0.002614, allocations: 219 kB / 21.46 MB, free: 1.586 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.534/1.534, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2076/0.2076, allocations: 38.5 MB / 349.4 MB, free: 2.602 MB / 270.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="cs",version="2.0",platforms={"static"}) [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.001961/0.001961, allocations: 71.89 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1216, allocations: 62.42 MB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.007439/0.129, allocations: 4.624 MB / 0.5419 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.1325, allocations: 1.355 MB / 0.5432 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.1328, allocations: 19.81 kB / 0.5432 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.134, allocations: 406.3 kB / 0.5436 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007273/0.1348, allocations: 258.7 kB / 0.5439 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.1353, allocations: 167.6 kB / 0.544 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000694/0.136, allocations: 0.5646 MB / 0.5446 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.1365, allocations: 229.2 kB / 0.5448 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.137, allocations: 270.9 kB / 0.545 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.1376, allocations: 303 kB / 0.5453 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.735e-05/0.1377, allocations: 28 kB / 0.5454 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.138, allocations: 127.8 kB / 0.5455 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1382, allocations: 199.4 kB / 0.5457 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.1385, allocations: 218.9 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.1392, allocations: 0.5136 MB / 0.5464 GB, free: 14.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.1392, allocations: 4 kB / 0.5464 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1392, allocations: 0 / 0.5464 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1392, allocations: 0 / 0.5464 GB, free: 14.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001348/0.1406, allocations: 0.7103 MB / 0.5471 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1406, allocations: 8.031 kB / 0.5471 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.448e-05/0.1406, allocations: 13.19 kB / 0.5471 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.25e-05/0.1407, allocations: 78.7 kB / 0.5472 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.1413, allocations: 88.55 kB / 0.5473 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.142, allocations: 411.5 kB / 0.5476 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.142, allocations: 33.12 kB / 0.5477 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1422, allocations: 51.91 kB / 0.5477 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.143, allocations: 476.8 kB / 0.5482 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.143, allocations: 4 kB / 0.5482 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.143, allocations: 8 kB / 0.5482 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.1431, allocations: 28.98 kB / 0.5482 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005921/0.1437, allocations: 355.7 kB / 0.5486 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.146, allocations: 1.718 MB / 0.5502 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.1464, allocations: 149 kB / 0.5504 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1465, allocations: 101.7 kB / 0.5505 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1466, allocations: 4.281 kB / 0.5505 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.1466, allocations: 38.55 kB / 0.5505 GB, free: 9.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 4.118e-06/0.1466, allocations: 3.984 kB / 0.5505 GB, free: 9.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001687/0.1483, allocations: 0.892 MB / 0.5514 GB, free: 8.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1484, allocations: 81.11 kB / 0.5515 GB, free: 8.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.1487, allocations: 312.5 kB / 0.5518 GB, free: 8.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1487, allocations: 25.7 kB / 0.5518 GB, free: 8.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1489, allocations: 260 kB / 0.552 GB, free: 8.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.149, allocations: 75.48 kB / 0.5521 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.933e-05/0.1491, allocations: 61.97 kB / 0.5522 GB, free: 7.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1493, allocations: 342.8 kB / 0.5525 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.1494, allocations: 100.2 kB / 0.5526 GB, free: 7.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1497, allocations: 205.2 kB / 0.5528 GB, free: 7.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.1501, allocations: 331.4 kB / 0.5531 GB, free: 6.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1501, allocations: 0 / 0.5531 GB, free: 6.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000949/0.1511, allocations: 469.8 kB / 0.5536 GB, free: 6.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1511, allocations: 4 kB / 0.5536 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006356/0.1517, allocations: 311.7 kB / 0.5539 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00052/0.1522, allocations: 140.7 kB / 0.554 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1524, allocations: 52.05 kB / 0.554 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.1558, allocations: 2.435 MB / 0.5564 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.156, allocations: 15.98 kB / 0.5564 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1561, allocations: 12 kB / 0.5564 GB, free: 3.32 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 (29): * Single equations (assignments): 28 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002527/0.1563, allocations: 194.3 kB / 0.5566 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.1564, allocations: 31.81 kB / 0.5567 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.1569, allocations: 272 kB / 0.5569 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1569, allocations: 0 / 0.5569 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1569, allocations: 8 kB / 0.5569 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1569, allocations: 3.984 kB / 0.5569 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.1582, allocations: 0.7273 MB / 0.5576 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.1582, allocations: 12 kB / 0.5577 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.1584, allocations: 31.98 kB / 0.5577 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.1585, allocations: 40.89 kB / 0.5577 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1586, allocations: 11.98 kB / 0.5577 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1586, allocations: 4 kB / 0.5577 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1586, allocations: 0 / 0.5577 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.1592, allocations: 440.5 kB / 0.5582 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.1593, allocations: 109 kB / 0.5583 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1593, allocations: 4 kB / 0.5583 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1594, allocations: 7.984 kB / 0.5583 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1595, allocations: 19.92 kB / 0.5583 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1595, allocations: 4 kB / 0.5583 GB, free: 1.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.1597, allocations: 227 kB / 0.5585 GB, free: 1.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1597, allocations: 0 / 0.5585 GB, free: 1.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.1602, allocations: 84 kB / 0.5586 GB, free: 0.9883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009988/0.1612, allocations: 0.9925 MB / 0.5596 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.162, allocations: 397.2 kB / 0.5599 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.162, allocations: 0.875 kB / 0.5599 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.1622, allocations: 178 kB / 0.5601 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1627, allocations: 64.98 kB / 0.5602 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.1679, allocations: 3.558 MB / 0.5637 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.1684, allocations: 0.8458 MB / 0.5645 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.1686, allocations: 62.91 kB / 0.5645 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.1688, allocations: 123.3 kB / 0.5647 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1688, allocations: 0 / 0.5647 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.2026, allocations: 7.468 MB / 0.5719 GB, free: 3.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.09, allocations: 4.062 kB / 0.572 GB, free: 3.191 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.PQsource.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.330247622041497]