Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001451/0.001451, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.1869/0.1869, allocations: 38.55 MB / 352.5 MB, free: 12.43 MB / 286.1 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.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",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.002116/0.002116, allocations: 67.91 kB / 492.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.366, allocations: 62.47 MB / 0.5419 GB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006111/0.3722, allocations: 3.898 MB / 0.5457 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.3751, allocations: 1.719 MB / 0.5474 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.3753, allocations: 9.938 kB / 0.5474 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3765, allocations: 358.2 kB / 0.5478 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3776, allocations: 413.2 kB / 0.5482 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.378, allocations: 144.7 kB / 0.5483 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.3786, allocations: 489.9 kB / 0.5488 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.379, allocations: 166.8 kB / 0.5489 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.3794, allocations: 231.3 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.3798, allocations: 243.4 kB / 0.5494 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.3799, allocations: 21.25 kB / 0.5494 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006905/0.3805, allocations: 377 kB / 0.5498 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3807, allocations: 160.5 kB / 0.5499 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3809, allocations: 125.4 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007818/0.3817, allocations: 0.5011 MB / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3817, allocations: 0 / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3817, allocations: 0 / 0.5505 GB, free: 9.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3817, allocations: 4 kB / 0.5505 GB, free: 9.797 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009342/0.3826, allocations: 0.5214 MB / 0.551 GB, free: 9.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.3827, allocations: 13.77 kB / 0.551 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.3828, allocations: 68.62 kB / 0.5511 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.384, allocations: 134 kB / 0.5512 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.3846, allocations: 245.4 kB / 0.5515 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3846, allocations: 23.52 kB / 0.5515 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/0.3847, allocations: 26.22 kB / 0.5515 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.3856, allocations: 440.1 kB / 0.5519 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3856, allocations: 3.953 kB / 0.5519 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.3856, allocations: 15.42 kB / 0.552 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.721e-05/0.3857, allocations: 22.19 kB / 0.552 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007774/0.3865, allocations: 423.5 kB / 0.5524 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.389, allocations: 1.475 MB / 0.5538 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3894, allocations: 196.9 kB / 0.554 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.3896, allocations: 119 kB / 0.5541 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.3896, allocations: 7.344 kB / 0.5541 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.3897, allocations: 33.31 kB / 0.5542 GB, free: 7.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.324e-06/0.3897, allocations: 0 / 0.5542 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002009/0.3917, allocations: 0.724 MB / 0.5549 GB, free: 6.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.3918, allocations: 84.52 kB / 0.555 GB, free: 6.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.392, allocations: 219.3 kB / 0.5552 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3921, allocations: 30.8 kB / 0.5552 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3922, allocations: 188.6 kB / 0.5554 GB, free: 6.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.3923, allocations: 79.34 kB / 0.5554 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3924, allocations: 61.92 kB / 0.5555 GB, free: 6.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3926, allocations: 330.8 kB / 0.5558 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.3928, allocations: 100.5 kB / 0.5559 GB, free: 5.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.393, allocations: 221 kB / 0.5561 GB, free: 5.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.3935, allocations: 342.2 kB / 0.5565 GB, free: 4.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3935, allocations: 4 kB / 0.5565 GB, free: 4.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008365/0.3944, allocations: 426.1 kB / 0.5569 GB, free: 4.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3944, allocations: 8.031 kB / 0.5569 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3944, allocations: 4 kB / 0.5569 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.3948, allocations: 84.8 kB / 0.557 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3951, allocations: 55.95 kB / 0.557 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.3975, allocations: 1.89 MB / 0.5589 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3977, allocations: 15.98 kB / 0.5589 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3978, allocations: 12 kB / 0.5589 GB, free: 2.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.398, allocations: 180.6 kB / 0.5591 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3981, allocations: 19.84 kB / 0.5591 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.3989, allocations: 384.8 kB / 0.5594 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.3989, allocations: 4 kB / 0.5594 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3989, allocations: 4 kB / 0.5594 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3989, allocations: 0 / 0.5594 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.4005, allocations: 0.8112 MB / 0.5602 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4005, allocations: 3.938 kB / 0.5602 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.4006, allocations: 39.86 kB / 0.5603 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.4009, allocations: 72.97 kB / 0.5604 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4009, allocations: 8 kB / 0.5604 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.403, allocations: 1.789 MB / 0.5621 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.403, allocations: 0 / 0.5621 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.4037, allocations: 467.3 kB / 0.5626 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.4038, allocations: 23.92 kB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.4038, allocations: 8 kB / 0.5626 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.404, allocations: 11.98 kB / 0.5626 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.404, allocations: 31.7 kB / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.404, allocations: 4 kB / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4042, allocations: 151.2 kB / 0.5628 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4042, allocations: 0 / 0.5628 GB, free: 14.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.4047, allocations: 84 kB / 0.5629 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.4059, allocations: 0.9926 MB / 0.5638 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.407, allocations: 415 kB / 0.5642 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.407, allocations: 0 / 0.5642 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.4076, allocations: 274.6 kB / 0.5645 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.408, allocations: 34.03 kB / 0.5645 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.4122, allocations: 3.023 MB / 0.5675 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.4124, allocations: 201.6 kB / 0.5677 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.4126, allocations: 62.06 kB / 0.5677 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.4127, allocations: 83.41 kB / 0.5678 GB, free: 8.719 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4127, allocations: 0 / 0.5678 GB, free: 8.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.4505, allocations: 6.386 MB / 0.574 GB, free: 2.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.1, allocations: 11.86 kB / 0.574 GB, free: 2.457 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.938579651061445] Failed to read output from testmodel.py, exit status != 0: 12.212059862911701 12.230467772 11.845420947 Calling exit ...