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.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.001878/0.001878, allocations: 119.9 kB / 17.79 MB, free: 5.285 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.001963/0.001963, allocations: 185.2 kB / 20.73 MB, free: 2.355 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.43/1.43, allocations: 225.6 MB / 249.1 MB, free: 3.59 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.1811/0.1811, allocations: 38.51 MB / 342.5 MB, free: 8.055 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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.55 kB / 478.6 MB, free: 33.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1096, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006675/0.1163, allocations: 4.591 MB / 0.5317 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1193, allocations: 1.577 MB / 0.5332 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.1196, allocations: 15.88 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1209, allocations: 298.6 kB / 0.5335 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.1218, allocations: 266.7 kB / 0.5338 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008973/0.1227, allocations: 251.4 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.1235, allocations: 0.6157 MB / 0.5346 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003753/0.1239, allocations: 208 kB / 0.5348 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.1243, allocations: 274.9 kB / 0.5351 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/0.1249, allocations: 346.9 kB / 0.5354 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.125, allocations: 35.94 kB / 0.5355 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003046/0.1253, allocations: 155.7 kB / 0.5356 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.1255, allocations: 219.4 kB / 0.5358 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1258, allocations: 250.7 kB / 0.5361 GB, free: 8.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007593/0.1265, allocations: 0.6031 MB / 0.5366 GB, free: 7.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1266, allocations: 0 / 0.5366 GB, free: 7.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1266, allocations: 0 / 0.5366 GB, free: 7.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1266, allocations: 3.938 kB / 0.5367 GB, free: 7.668 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001404/0.128, allocations: 0.777 MB / 0.5374 GB, free: 6.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.128, allocations: 15.89 kB / 0.5374 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1281, allocations: 82.7 kB / 0.5375 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/0.1287, allocations: 96.55 kB / 0.5376 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/0.1295, allocations: 428.2 kB / 0.538 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.1295, allocations: 25.38 kB / 0.538 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1297, allocations: 55.91 kB / 0.5381 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.1307, allocations: 0.6638 MB / 0.5387 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1307, allocations: 11.94 kB / 0.5387 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.1307, allocations: 20 kB / 0.5388 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.1309, allocations: 48.95 kB / 0.5388 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.1317, allocations: 491.5 kB / 0.5393 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.1356, allocations: 3.144 MB / 0.5423 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.1361, allocations: 241.3 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.1363, allocations: 113.7 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.1363, allocations: 0 / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.1364, allocations: 46.48 kB / 0.5427 GB, free: 1.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.1364, allocations: 0 / 0.5427 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001637/0.138, allocations: 0.9047 MB / 0.5436 GB, free: 120 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.1381, allocations: 81.11 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.1385, allocations: 328.4 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1385, allocations: 33.7 kB / 0.544 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1387, allocations: 299.9 kB / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.1388, allocations: 91.22 kB / 0.5444 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.139, allocations: 94.16 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1391, allocations: 350.7 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.1394, allocations: 132.7 kB / 0.545 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1398, allocations: 317.7 kB / 0.5453 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.1405, allocations: 0.4925 MB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1405, allocations: 0 / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00115/0.1416, allocations: 0.5965 MB / 0.5463 GB, free: 13.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1416, allocations: 8.125 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006553/0.1423, allocations: 325.8 kB / 0.5466 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004519/0.1427, allocations: 113.6 kB / 0.5468 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1431, allocations: 91.83 kB / 0.5468 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.1464, allocations: 3.278 MB / 0.55 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.1467, allocations: 23.98 kB / 0.5501 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.1467, allocations: 28 kB / 0.5501 GB, free: 8.941 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.0003071/0.1471, allocations: 209.7 kB / 0.5503 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.1471, allocations: 35.95 kB / 0.5503 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.1477, allocations: 324.6 kB / 0.5506 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1477, allocations: 0 / 0.5506 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1477, allocations: 7.938 kB / 0.5506 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1477, allocations: 7.984 kB / 0.5507 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.149, allocations: 0.7966 MB / 0.5514 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.149, allocations: 4 kB / 0.5514 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.1493, allocations: 59.84 kB / 0.5515 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1493, allocations: 4 kB / 0.5515 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.1493, allocations: 7.984 kB / 0.5515 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1493, allocations: 8.062 kB / 0.5515 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1493, allocations: 0 / 0.5515 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.15, allocations: 0.5064 MB / 0.552 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.1501, allocations: 132.9 kB / 0.5521 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.1502, allocations: 8 kB / 0.5521 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.1504, allocations: 15.98 kB / 0.5522 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1504, allocations: 11.98 kB / 0.5522 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1504, allocations: 8 kB / 0.5522 GB, free: 6.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.1507, allocations: 223 kB / 0.5524 GB, free: 6.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1507, allocations: 0 / 0.5524 GB, free: 6.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004831/0.1511, allocations: 100 kB / 0.5525 GB, free: 6.371 MB / 414.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.001052/0.1522, allocations: 1.048 MB / 0.5535 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1532, allocations: 0.5764 MB / 0.5541 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1532, allocations: 0 / 0.5541 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1535, allocations: 118.9 kB / 0.5542 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.154, allocations: 72.59 kB / 0.5543 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.1598, allocations: 4.064 MB / 0.5582 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.1604, allocations: 0.8738 MB / 0.5591 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.1607, allocations: 115.2 kB / 0.5592 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1609, allocations: 151.3 kB / 0.5593 GB, free: 15.01 MB / 430.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1609, allocations: 0 / 0.5593 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.204, allocations: 7.73 MB / 0.5669 GB, free: 7.426 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.63, allocations: 8.047 kB / 0.5669 GB, free: 7.418 MB / 430.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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.570655533112586]