Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.0008415/0.0008415, allocations: 88.33 kB / 20.95 MB, free: 3.469 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.0008507/0.0008507, allocations: 161.3 kB / 24.27 MB, free: 164 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.9144/0.9144, allocations: 177.2 MB / 204.6 MB, free: 5.578 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.2474/0.2474, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.884e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00507/0.005098, allocations: 4.323 MB / 372.7 MB, free: 7.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.006681, allocations: 1.383 MB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.006842, allocations: 19.81 kB / 374.1 MB, free: 6.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.007452, allocations: 370.4 kB / 374.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.007829, allocations: 230.7 kB / 374.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.00834, allocations: 259.1 kB / 374.9 MB, free: 5.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000749/0.009089, allocations: 0.5493 MB / 375.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.009407, allocations: 221.4 kB / 375.7 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.009777, allocations: 335 kB / 376 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.01006, allocations: 279.3 kB / 376.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.0101, allocations: 32 kB / 376.3 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.01033, allocations: 151.7 kB / 376.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.01049, allocations: 227.4 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.01061, allocations: 171.6 kB / 376.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.01105, allocations: 0.5725 MB / 377.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01106, allocations: 0 / 377.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01106, allocations: 0 / 377.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.01106, allocations: 0 / 377.4 MB, free: 2.688 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.000783/0.01185, allocations: 0.6745 MB / 378.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.01188, allocations: 11.98 kB / 378.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.01194, allocations: 82.7 kB / 378.2 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.01242, allocations: 168.5 kB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.01282, allocations: 359.9 kB / 378.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.01284, allocations: 37.38 kB / 378.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.01292, allocations: 48.56 kB / 378.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.01348, allocations: 0.6288 MB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.0135, allocations: 3.938 kB / 379.4 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.01353, allocations: 20 kB / 379.5 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.01359, allocations: 24.98 kB / 379.5 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.01407, allocations: 483.4 kB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.01643, allocations: 2.742 MB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01669, allocations: 224.9 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.01682, allocations: 133.7 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.01684, allocations: 7.984 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01687, allocations: 34.56 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.01687, allocations: 0 / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001036/0.01791, allocations: 0.9031 MB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.01794, allocations: 81.11 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.01816, allocations: 340.3 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01818, allocations: 33.7 kB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01829, allocations: 272.1 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.01835, allocations: 111.1 kB / 384.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.01843, allocations: 90.14 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.01851, allocations: 346.8 kB / 385.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.01865, allocations: 140.9 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.01887, allocations: 346.6 kB / 385.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.01928, allocations: 0.5325 MB / 386.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.01928, allocations: 3.938 kB / 386.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005201/0.0198, allocations: 0.5477 MB / 386.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01982, allocations: 11.94 kB / 386.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01983, allocations: 4 kB / 386.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01984, allocations: 16.66 kB / 386.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.02007, allocations: 119.8 kB / 387 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.02009, allocations: 16 kB / 387 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.02022, allocations: 27.97 kB / 387 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.02024, allocations: 24 kB / 387 MB, free: 8.531 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.02039, allocations: 217.5 kB / 387.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.02044, allocations: 43.8 kB / 387.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.02083, allocations: 357.7 kB / 387.6 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.02084, allocations: 4 kB / 387.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.02084, allocations: 3.984 kB / 387.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.02085, allocations: 0 / 387.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.02167, allocations: 0.8285 MB / 388.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02167, allocations: 4 kB / 388.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.02183, allocations: 67.89 kB / 388.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.02184, allocations: 4 kB / 388.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.02185, allocations: 8 kB / 388.5 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.02186, allocations: 4 kB / 388.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02186, allocations: 4 kB / 388.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.02238, allocations: 0.5977 MB / 389.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.02241, allocations: 27.81 kB / 389.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.02244, allocations: 16.03 kB / 389.2 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.02252, allocations: 4 kB / 389.2 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.02256, allocations: 27.89 kB / 389.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.02257, allocations: 12 kB / 389.2 MB, free: 6.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003938/0.02296, allocations: 223 kB / 389.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02296, allocations: 0 / 389.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.02325, allocations: 88 kB / 389.5 MB, free: 5.906 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (31): * Single equations (assignments): 30 * 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.0006525/0.0239, allocations: 1.149 MB / 390.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.02425, allocations: 345.1 kB / 391 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02425, allocations: 0 / 391 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.02438, allocations: 136.2 kB / 391.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.0247, allocations: 90.5 kB / 391.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.02784, allocations: 3.912 MB / 395.2 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.02801, allocations: 257.7 kB / 395.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.02821, allocations: 127.1 kB / 395.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.02836, allocations: 144.4 kB / 395.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02836, allocations: 0 / 395.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.04889, allocations: 8.238 MB / 403.9 MB, free: 7.375 MB / 378.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.046, allocations: 10.94 kB / 403.9 MB, free: 7.367 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial_OMSimulator_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.977245185000356]