Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001951/0.001951, allocations: 118.9 kB / 18.49 MB, free: 4.586 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.002347/0.002347, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.1917/0.1917, allocations: 38.52 MB / 349.4 MB, free: 2.609 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.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.002016/0.002016, allocations: 70.03 kB / 487.8 MB, free: 32.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1107, allocations: 62.43 MB / 0.5374 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006685/0.1174, allocations: 4.603 MB / 0.5419 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1202, allocations: 1.608 MB / 0.5434 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.1204, allocations: 15.88 kB / 0.5434 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008916/0.1213, allocations: 298.6 kB / 0.5437 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.1219, allocations: 278.6 kB / 0.544 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.1226, allocations: 259.4 kB / 0.5442 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.1232, allocations: 0.604 MB / 0.5448 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1236, allocations: 208.2 kB / 0.545 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.1241, allocations: 290.9 kB / 0.5453 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.1246, allocations: 354.9 kB / 0.5456 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.1246, allocations: 32 kB / 0.5457 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.1249, allocations: 155.7 kB / 0.5458 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.1252, allocations: 227.4 kB / 0.546 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.1254, allocations: 242.8 kB / 0.5463 GB, free: 372 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.1263, allocations: 0.6108 MB / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1263, allocations: 0 / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1263, allocations: 0 / 0.5469 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1263, allocations: 0 / 0.5469 GB, free: 15.75 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001396/0.1277, allocations: 0.777 MB / 0.5476 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1277, allocations: 12.03 kB / 0.5476 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.831e-05/0.1277, allocations: 17.19 kB / 0.5477 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.1279, allocations: 86.69 kB / 0.5477 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.1287, allocations: 124.5 kB / 0.5479 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.1293, allocations: 420.2 kB / 0.5483 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.1294, allocations: 33.12 kB / 0.5483 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1295, allocations: 51.97 kB / 0.5483 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.1305, allocations: 0.6638 MB / 0.549 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.1305, allocations: 3.938 kB / 0.549 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.1306, allocations: 16 kB / 0.549 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.1307, allocations: 48.97 kB / 0.5491 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1316, allocations: 499.4 kB / 0.5495 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.1353, allocations: 3.141 MB / 0.5526 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.1359, allocations: 237.3 kB / 0.5528 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.1361, allocations: 120.8 kB / 0.5529 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1361, allocations: 0 / 0.5529 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.1362, allocations: 46.5 kB / 0.553 GB, free: 9.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 3.828e-06/0.1362, allocations: 3.984 kB / 0.553 GB, free: 9.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001609/0.1378, allocations: 0.8947 MB / 0.5539 GB, free: 8.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/0.1378, allocations: 85.09 kB / 0.5539 GB, free: 8.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1382, allocations: 328.4 kB / 0.5543 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1382, allocations: 33.7 kB / 0.5543 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1385, allocations: 307.9 kB / 0.5546 GB, free: 7.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.1386, allocations: 95.25 kB / 0.5547 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1387, allocations: 90.08 kB / 0.5548 GB, free: 7.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1389, allocations: 342.8 kB / 0.5551 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.1391, allocations: 140.7 kB / 0.5552 GB, free: 6.711 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1395, allocations: 313.2 kB / 0.5555 GB, free: 6.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006732/0.1402, allocations: 0.508 MB / 0.556 GB, free: 5.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1402, allocations: 0 / 0.556 GB, free: 5.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001152/0.1413, allocations: 0.5848 MB / 0.5566 GB, free: 5.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.1413, allocations: 8 kB / 0.5566 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006635/0.142, allocations: 333.7 kB / 0.5569 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.1425, allocations: 113.6 kB / 0.557 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.1428, allocations: 96.05 kB / 0.5571 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.146, allocations: 3.278 MB / 0.5603 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.1463, allocations: 20 kB / 0.5603 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.1463, allocations: 23.98 kB / 0.5604 GB, free: 0.9766 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.1466, allocations: 205.6 kB / 0.5605 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.1467, allocations: 35.81 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.1472, allocations: 320.7 kB / 0.5609 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1472, allocations: 7.938 kB / 0.5609 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.1472, allocations: 0 / 0.5609 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1472, allocations: 4 kB / 0.5609 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.1485, allocations: 0.8033 MB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.1485, allocations: 7.938 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.1488, allocations: 59.97 kB / 0.5617 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1488, allocations: 4 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1489, allocations: 8 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.1489, allocations: 8 kB / 0.5618 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1489, allocations: 0 / 0.5618 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.1496, allocations: 0.5016 MB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1497, allocations: 140.8 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1498, allocations: 3.984 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1499, allocations: 12 kB / 0.5624 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.15, allocations: 23.83 kB / 0.5624 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.15, allocations: 4 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.1502, allocations: 219.1 kB / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1502, allocations: 0 / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005076/0.1508, allocations: 104 kB / 0.5627 GB, free: 14.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.1518, allocations: 1.057 MB / 0.5638 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.1528, allocations: 0.557 MB / 0.5643 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1528, allocations: 0 / 0.5643 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.153, allocations: 116.2 kB / 0.5644 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1535, allocations: 76.31 kB / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.159, allocations: 4.069 MB / 0.5685 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.1596, allocations: 0.866 MB / 0.5693 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.1599, allocations: 115.2 kB / 0.5694 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.1601, allocations: 147.4 kB / 0.5696 GB, free: 7.039 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1601, allocations: 0 / 0.5696 GB, free: 7.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.1923, allocations: 7.788 MB / 0.5772 GB, free: 15.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.02, allocations: 15.84 kB / 0.5772 GB, free: 15.39 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --stepSize=8e-05 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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: 14.138482631009538]