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.001392/0.001392, 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.001502/0.001502, 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.48/1.48, 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.1884/0.1884, allocations: 38.56 MB / 353.2 MB, free: 12.32 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.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.002185/0.002185, allocations: 59.91 kB / 493.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3504, allocations: 62.46 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.00672/0.3571, allocations: 4.47 MB / 0.5471 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3597, allocations: 1.259 MB / 0.5483 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.36, allocations: 20.44 kB / 0.5483 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.3613, allocations: 398.6 kB / 0.5487 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.362, allocations: 258.7 kB / 0.5489 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.3626, allocations: 159.3 kB / 0.5491 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006944/0.3633, allocations: 0.5665 MB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.3637, allocations: 227.5 kB / 0.5499 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.3641, allocations: 276.1 kB / 0.5501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.3646, allocations: 299.3 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.3647, allocations: 30.97 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.365, allocations: 125.9 kB / 0.5506 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.3652, allocations: 197 kB / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.3654, allocations: 179.9 kB / 0.5509 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008129/0.3662, allocations: 0.5215 MB / 0.5514 GB, free: 9.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3662, allocations: 4 kB / 0.5514 GB, free: 9.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3662, allocations: 1.375 kB / 0.5514 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3663, allocations: 0 / 0.5514 GB, free: 9.805 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001401/0.3677, allocations: 0.6341 MB / 0.5521 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3677, allocations: 12.95 kB / 0.5521 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.205e-05/0.3677, allocations: 10.97 kB / 0.5521 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.3678, allocations: 75.75 kB / 0.5521 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/0.3684, allocations: 92.12 kB / 0.5522 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000739/0.3692, allocations: 357.1 kB / 0.5526 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.3692, allocations: 30.72 kB / 0.5526 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3693, allocations: 43.02 kB / 0.5526 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.3702, allocations: 485.2 kB / 0.5531 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3702, allocations: 1.031 kB / 0.5531 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.3703, allocations: 11.25 kB / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.3704, allocations: 29.83 kB / 0.5532 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.371, allocations: 348.2 kB / 0.5535 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.3732, allocations: 1.484 MB / 0.5549 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.3735, allocations: 147.3 kB / 0.5551 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3737, allocations: 101.8 kB / 0.5552 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3737, allocations: 2.156 kB / 0.5552 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.3738, allocations: 40.86 kB / 0.5552 GB, free: 6.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.3738, allocations: 3.938 kB / 0.5552 GB, free: 6.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001671/0.3755, allocations: 0.7503 MB / 0.5559 GB, free: 6.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3755, allocations: 78.48 kB / 0.556 GB, free: 6.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.3759, allocations: 315.6 kB / 0.5563 GB, free: 6.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3759, allocations: 29.7 kB / 0.5564 GB, free: 6.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3761, allocations: 256 kB / 0.5566 GB, free: 5.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.3762, allocations: 71.56 kB / 0.5567 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3763, allocations: 53.98 kB / 0.5567 GB, free: 5.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3765, allocations: 350.7 kB / 0.557 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3766, allocations: 100.2 kB / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.3769, allocations: 197.3 kB / 0.5573 GB, free: 4.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.3773, allocations: 334.8 kB / 0.5577 GB, free: 4.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3773, allocations: 4 kB / 0.5577 GB, free: 4.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009359/0.3783, allocations: 461.6 kB / 0.5581 GB, free: 4.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3783, allocations: 8 kB / 0.5581 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006282/0.3789, allocations: 311.7 kB / 0.5584 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005048/0.3794, allocations: 141.2 kB / 0.5585 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3796, allocations: 51.91 kB / 0.5586 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.3828, allocations: 2.319 MB / 0.5608 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3831, allocations: 15.98 kB / 0.5609 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3831, allocations: 12 kB / 0.5609 GB, free: 1.156 MB / 398.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.0002557/0.3834, allocations: 193.7 kB / 0.5611 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.3834, allocations: 31.81 kB / 0.5611 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.3839, allocations: 264.1 kB / 0.5613 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3839, allocations: 4 kB / 0.5613 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3839, allocations: 0 / 0.5613 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3839, allocations: 0 / 0.5613 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3851, allocations: 0.6912 MB / 0.562 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3851, allocations: 0 / 0.562 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.3854, allocations: 44.03 kB / 0.5621 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.3855, allocations: 36.83 kB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3855, allocations: 4 kB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3855, allocations: 0 / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3855, allocations: 7.938 kB / 0.5621 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.3861, allocations: 442.5 kB / 0.5625 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.3862, allocations: 27.81 kB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.3862, allocations: 8 kB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3864, allocations: 8.031 kB / 0.5626 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3864, allocations: 27.84 kB / 0.5626 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3864, allocations: 4 kB / 0.5626 GB, free: 15.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3867, allocations: 219.1 kB / 0.5628 GB, free: 15.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3867, allocations: 0 / 0.5628 GB, free: 15.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.3872, allocations: 84 kB / 0.5629 GB, free: 14.98 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.0009636/0.3881, allocations: 0.9849 MB / 0.5639 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007334/0.3889, allocations: 398.5 kB / 0.5642 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3889, allocations: 0 / 0.5642 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3891, allocations: 96.75 kB / 0.5643 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.3896, allocations: 75.61 kB / 0.5644 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005167/0.3947, allocations: 3.577 MB / 0.5679 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.395, allocations: 233.1 kB / 0.5681 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.3952, allocations: 62.91 kB / 0.5682 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.3954, allocations: 123.4 kB / 0.5683 GB, free: 9.188 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3954, allocations: 0 / 0.5683 GB, free: 9.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.4283, allocations: 7.652 MB / 0.5758 GB, free: 1.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.17, allocations: 11.11 kB / 0.5758 GB, free: 1.715 MB / 414.1 MB " [Timeout remaining time 646] (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: 17.25849645305425]