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.001861/0.001861, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002164/0.002164, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.19/0.19, allocations: 38.54 MB / 353.2 MB, free: 12.31 MB / 286.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.002031/0.002031, allocations: 71.91 kB / 493.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 62.46 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007398/0.3545, allocations: 4.452 MB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.3579, allocations: 1.49 MB / 0.5485 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.3583, allocations: 20.66 kB / 0.5485 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.3596, allocations: 279.2 kB / 0.5488 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.3606, allocations: 278.5 kB / 0.5491 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3617, allocations: 260.3 kB / 0.5493 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3628, allocations: 0.6133 MB / 0.5499 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.3632, allocations: 217.3 kB / 0.5501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.3637, allocations: 285.5 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.3643, allocations: 359.6 kB / 0.5507 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.3643, allocations: 34 kB / 0.5508 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.3647, allocations: 150.3 kB / 0.5509 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.365, allocations: 220.9 kB / 0.5511 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.3654, allocations: 213.7 kB / 0.5513 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3664, allocations: 0.6071 MB / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3664, allocations: 0 / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3664, allocations: 1.125 kB / 0.5519 GB, free: 9.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3664, allocations: 4 kB / 0.5519 GB, free: 9.453 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.001601/0.368, allocations: 0.7058 MB / 0.5526 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3681, allocations: 14.08 kB / 0.5526 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.861e-05/0.3681, allocations: 12.19 kB / 0.5526 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.3682, allocations: 91.67 kB / 0.5527 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000785/0.369, allocations: 126.2 kB / 0.5528 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/0.3697, allocations: 356.8 kB / 0.5532 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.3698, allocations: 33.03 kB / 0.5532 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3699, allocations: 51.47 kB / 0.5533 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.371, allocations: 0.659 MB / 0.5539 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3711, allocations: 6.359 kB / 0.5539 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.3711, allocations: 17.06 kB / 0.5539 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.3713, allocations: 46.41 kB / 0.554 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.3721, allocations: 497.6 kB / 0.5544 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.3759, allocations: 2.98 MB / 0.5574 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3764, allocations: 233.2 kB / 0.5576 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3766, allocations: 121.7 kB / 0.5577 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3766, allocations: 4 kB / 0.5577 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3766, allocations: 34.56 kB / 0.5577 GB, free: 4.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.255e-06/0.3766, allocations: 0 / 0.5577 GB, free: 4.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001623/0.3783, allocations: 0.8362 MB / 0.5585 GB, free: 3.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.3783, allocations: 81.11 kB / 0.5586 GB, free: 3.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.3787, allocations: 332.4 kB / 0.5589 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3787, allocations: 25.7 kB / 0.559 GB, free: 3.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.379, allocations: 304 kB / 0.5593 GB, free: 2.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.3791, allocations: 99.2 kB / 0.5593 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3792, allocations: 86.08 kB / 0.5594 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3794, allocations: 342.8 kB / 0.5598 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3796, allocations: 136.8 kB / 0.5599 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.38, allocations: 329.1 kB / 0.5602 GB, free: 1.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006368/0.3806, allocations: 0.4893 MB / 0.5607 GB, free: 1.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3806, allocations: 4 kB / 0.5607 GB, free: 1.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001125/0.3818, allocations: 0.5885 MB / 0.5613 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3818, allocations: 11.98 kB / 0.5613 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006388/0.3824, allocations: 325.7 kB / 0.5616 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.3829, allocations: 113.6 kB / 0.5617 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.3832, allocations: 91.83 kB / 0.5618 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.3863, allocations: 3.059 MB / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.3866, allocations: 20 kB / 0.5648 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3866, allocations: 20 kB / 0.5648 GB, free: 12.75 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.0003131/0.3869, allocations: 217.7 kB / 0.565 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.387, allocations: 31.81 kB / 0.565 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.3876, allocations: 313 kB / 0.5653 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3876, allocations: 7.938 kB / 0.5653 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3876, allocations: 3.938 kB / 0.5653 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3876, allocations: 4 kB / 0.5654 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.3888, allocations: 0.7489 MB / 0.5661 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3888, allocations: 7.938 kB / 0.5661 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.3891, allocations: 51.97 kB / 0.5661 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3891, allocations: 11.88 kB / 0.5662 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3891, allocations: 8 kB / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3891, allocations: 0 / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3891, allocations: 0 / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.3898, allocations: 0.5121 MB / 0.5667 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3899, allocations: 51.67 kB / 0.5667 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.39, allocations: 15.98 kB / 0.5667 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3902, allocations: 12.03 kB / 0.5667 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.3902, allocations: 27.77 kB / 0.5668 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3902, allocations: 8 kB / 0.5668 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.3905, allocations: 223 kB / 0.567 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3905, allocations: 0 / 0.567 GB, free: 10.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005123/0.391, allocations: 96 kB / 0.5671 GB, free: 10.33 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.001002/0.392, allocations: 1.05 MB / 0.5681 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009675/0.3929, allocations: 0.5637 MB / 0.5687 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.393, allocations: 1.5 kB / 0.5687 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3931, allocations: 119.8 kB / 0.5688 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.3937, allocations: 76.39 kB / 0.5688 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.3992, allocations: 4.082 MB / 0.5728 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.3995, allocations: 265.7 kB / 0.5731 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.3998, allocations: 111.2 kB / 0.5732 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.4, allocations: 147.4 kB / 0.5733 GB, free: 3.562 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4, allocations: 0 / 0.5733 GB, free: 3.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.4364, allocations: 8.176 MB / 0.5813 GB, free: 11.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.54, allocations: 6.469 kB / 0.5813 GB, free: 11.57 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.653346159961075]