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.001712/0.001712, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002442/0.002442, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.553/1.553, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.1855/0.1855, allocations: 38.53 MB / 353.2 MB, free: 12.55 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.002138/0.002138, allocations: 63.91 kB / 493.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 62.47 MB / 0.5428 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006326/0.3351, allocations: 4.732 MB / 0.5474 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.338, allocations: 1.61 MB / 0.549 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.3382, allocations: 19.75 kB / 0.549 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.3391, allocations: 309.9 kB / 0.5493 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.3397, allocations: 267 kB / 0.5495 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.3405, allocations: 264 kB / 0.5498 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00071/0.3412, allocations: 0.6015 MB / 0.5504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003761/0.3416, allocations: 225.7 kB / 0.5506 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.342, allocations: 286.2 kB / 0.5509 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.3426, allocations: 348.2 kB / 0.5512 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.3427, allocations: 34.31 kB / 0.5512 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.343, allocations: 166.7 kB / 0.5514 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.3433, allocations: 228.3 kB / 0.5516 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.3435, allocations: 245.4 kB / 0.5518 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008005/0.3443, allocations: 0.609 MB / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3443, allocations: 1.25 kB / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3443, allocations: 0 / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3443, allocations: 0 / 0.5524 GB, free: 9.191 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.001417/0.3458, allocations: 0.7125 MB / 0.5531 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3458, allocations: 17.67 kB / 0.5531 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.818e-05/0.3458, allocations: 10.75 kB / 0.5531 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.3459, allocations: 88.61 kB / 0.5532 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.3467, allocations: 121.8 kB / 0.5533 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.3475, allocations: 356.9 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3475, allocations: 36.69 kB / 0.5537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.3476, allocations: 47.92 kB / 0.5538 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3487, allocations: 0.6658 MB / 0.5544 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.3487, allocations: 5.344 kB / 0.5544 GB, free: 7.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.3487, allocations: 17.22 kB / 0.5544 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.3489, allocations: 50.97 kB / 0.5545 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/0.3497, allocations: 492.8 kB / 0.555 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.3534, allocations: 3.078 MB / 0.558 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.3539, allocations: 233.2 kB / 0.5582 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3541, allocations: 121.6 kB / 0.5583 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.3542, allocations: 4 kB / 0.5583 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3542, allocations: 42.5 kB / 0.5583 GB, free: 4.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.3542, allocations: 0 / 0.5583 GB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001714/0.3559, allocations: 0.8226 MB / 0.5592 GB, free: 3.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.356, allocations: 81.11 kB / 0.5592 GB, free: 3.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3564, allocations: 336.4 kB / 0.5595 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3564, allocations: 29.83 kB / 0.5596 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.3566, allocations: 303.9 kB / 0.5599 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.3567, allocations: 91.22 kB / 0.56 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3569, allocations: 86.08 kB / 0.56 GB, free: 2.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.357, allocations: 350.7 kB / 0.5604 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.3572, allocations: 128.7 kB / 0.5605 GB, free: 1.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3576, allocations: 325.2 kB / 0.5608 GB, free: 1.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.3582, allocations: 0.4964 MB / 0.5613 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3582, allocations: 4 kB / 0.5613 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001161/0.3594, allocations: 0.5885 MB / 0.5619 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3594, allocations: 8 kB / 0.5619 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006437/0.3601, allocations: 325.8 kB / 0.5622 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.3605, allocations: 114 kB / 0.5623 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.3609, allocations: 87.83 kB / 0.5624 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/0.364, allocations: 3.079 MB / 0.5654 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3642, allocations: 19.98 kB / 0.5654 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.3643, allocations: 20 kB / 0.5654 GB, free: 12.46 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.0002915/0.3646, allocations: 213.6 kB / 0.5656 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.3646, allocations: 31.81 kB / 0.5657 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.3652, allocations: 325 kB / 0.566 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3652, allocations: 7.922 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3652, allocations: 4 kB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3652, allocations: 0 / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3664, allocations: 0.7627 MB / 0.5667 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3664, allocations: 7.938 kB / 0.5667 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.3668, allocations: 63.91 kB / 0.5668 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.3668, allocations: 4 kB / 0.5668 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3668, allocations: 11.98 kB / 0.5668 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3668, allocations: 0 / 0.5668 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3668, allocations: 0 / 0.5668 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007037/0.3675, allocations: 0.5147 MB / 0.5673 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3676, allocations: 63.64 kB / 0.5674 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3677, allocations: 8 kB / 0.5674 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3679, allocations: 8 kB / 0.5674 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.3679, allocations: 23.81 kB / 0.5674 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3679, allocations: 8.234 kB / 0.5674 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002437/0.3682, allocations: 219.1 kB / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 0.5676 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005478/0.3687, allocations: 108 kB / 0.5677 GB, free: 10.01 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.001051/0.3698, allocations: 1.046 MB / 0.5687 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.3709, allocations: 0.5686 MB / 0.5693 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3709, allocations: 4.5 kB / 0.5693 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.3711, allocations: 115.9 kB / 0.5694 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.3716, allocations: 68.05 kB / 0.5695 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.3773, allocations: 4.077 MB / 0.5735 GB, free: 3.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.3779, allocations: 0.866 MB / 0.5743 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.3782, allocations: 115.2 kB / 0.5744 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.3784, allocations: 147.4 kB / 0.5746 GB, free: 2.637 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3784, allocations: 0 / 0.5746 GB, free: 2.637 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4142, allocations: 8.101 MB / 0.5825 GB, free: 10.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.58, allocations: 11.3 kB / 0.5825 GB, free: 10.67 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.674255226040259]