Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0009152/0.0009152, allocations: 92.33 kB / 20.95 MB, free: 3.477 MB / 18.57 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.0008415/0.0008415, allocations: 165.3 kB / 24.26 MB, free: 172 kB / 18.57 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 0.9543/0.9543, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2282/0.2282, allocations: 29.43 MB / 290.5 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 3.938 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.331e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003132/0.003145, allocations: 3.421 MB / 371.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.00443, allocations: 1.36 MB / 373.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.004529, allocations: 19.88 kB / 373.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.005039, allocations: 243 kB / 373.4 MB, free: 6.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.00538, allocations: 290.5 kB / 373.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.005531, allocations: 107.5 kB / 373.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.005796, allocations: 358.8 kB / 374.2 MB, free: 5.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.006014, allocations: 106.1 kB / 374.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.006325, allocations: 203.3 kB / 374.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.006499, allocations: 151.5 kB / 374.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.006518, allocations: 12 kB / 374.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.006754, allocations: 267.1 kB / 374.9 MB, free: 5.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.006837, allocations: 107.7 kB / 375 MB, free: 5.156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.006901, allocations: 71.83 kB / 375.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.00721, allocations: 358.9 kB / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007212, allocations: 0 / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007213, allocations: 0 / 375.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.007217, allocations: 4 kB / 375.4 MB, free: 4.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004612/0.007679, allocations: 449 kB / 375.9 MB, free: 4.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.007714, allocations: 11.98 kB / 375.9 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.007756, allocations: 54.73 kB / 375.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.00832, allocations: 140.6 kB / 376.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.00855, allocations: 213.9 kB / 376.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.008568, allocations: 20.38 kB / 376.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.008601, allocations: 20.36 kB / 376.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.008939, allocations: 315.1 kB / 376.6 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008949, allocations: 3.938 kB / 376.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.008968, allocations: 12 kB / 376.6 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.008995, allocations: 15.98 kB / 376.6 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.009283, allocations: 279.8 kB / 376.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01059, allocations: 1.224 MB / 378.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.01094, allocations: 201.2 kB / 378.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.011, allocations: 49.77 kB / 378.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.01102, allocations: 4 kB / 378.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.01104, allocations: 38.5 kB / 378.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.01104, allocations: 0 / 378.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006994/0.01174, allocations: 369.6 kB / 378.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.01179, allocations: 85.11 kB / 378.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.01192, allocations: 202 kB / 379.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.01194, allocations: 33.7 kB / 379.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.01201, allocations: 160 kB / 379.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.01204, allocations: 51.52 kB / 379.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.01209, allocations: 45.66 kB / 379.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.01217, allocations: 326.8 kB / 379.7 MB, free: 204 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.043e-05/0.01223, allocations: 59.95 kB / 379.7 MB, free: 144 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01234, allocations: 152.8 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.01253, allocations: 232.7 kB / 380.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01253, allocations: 0 / 380.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002885/0.01282, allocations: 274.2 kB / 380.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01283, allocations: 12.06 kB / 380.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01284, allocations: 4 kB / 380.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01302, allocations: 40.83 kB / 380.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.0131, allocations: 47.91 kB / 380.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007299/0.01383, allocations: 1.33 MB / 381.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.0139, allocations: 12.03 kB / 381.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01391, allocations: 15.98 kB / 381.8 MB, free: 13.82 MB / 362.7 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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/0.01401, allocations: 153.7 kB / 382 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.01404, allocations: 19.91 kB / 382 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.01426, allocations: 191.8 kB / 382.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01427, allocations: 4 kB / 382.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.01427, allocations: 4.094 kB / 382.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.01427, allocations: 4.047 kB / 382.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.01476, allocations: 0.5163 MB / 382.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01476, allocations: 0 / 382.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.01481, allocations: 27.86 kB / 382.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.01489, allocations: 36.92 kB / 382.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.0149, allocations: 8 kB / 382.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006048/0.01551, allocations: 1.318 MB / 384.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01551, allocations: 0 / 384.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.01573, allocations: 299.8 kB / 384.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.01575, allocations: 23.89 kB / 384.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.01577, allocations: 4 kB / 384.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.01582, allocations: 4 kB / 384.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01585, allocations: 15.92 kB / 384.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01587, allocations: 11.98 kB / 384.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000416/0.01628, allocations: 135.2 kB / 384.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01628, allocations: 0 / 384.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.01651, allocations: 48 kB / 384.6 MB, free: 10.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004825/0.01699, allocations: 0.8481 MB / 385.5 MB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01734, allocations: 254.1 kB / 385.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01734, allocations: 0 / 385.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.01748, allocations: 183.4 kB / 385.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01774, allocations: 34.97 kB / 385.9 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.01963, allocations: 2.375 MB / 388.3 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.01973, allocations: 147.9 kB / 388.5 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.0198, allocations: 41.59 kB / 388.5 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.838e-05/0.01987, allocations: 56.48 kB / 388.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01987, allocations: 0 / 388.6 MB, free: 6.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.03894, allocations: 4.709 MB / 393.3 MB, free: 1.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.328, allocations: 12.05 kB / 393.3 MB, free: 1.969 MB / 362.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.300883151590824]