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.001337/0.001337, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001569/0.001569, allocations: 203.3 kB / 23.73 MB, free: 4.379 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.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1894/0.1894, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.002382/0.002382, allocations: 63.89 kB / 492.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.414, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.007871/0.4219, allocations: 3.887 MB / 0.5457 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.4259, allocations: 1.723 MB / 0.5474 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.4261, allocations: 10.25 kB / 0.5474 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.4275, allocations: 370.1 kB / 0.5478 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.429, allocations: 404.2 kB / 0.5482 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.4295, allocations: 145.6 kB / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.4302, allocations: 493.8 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.4306, allocations: 165.6 kB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.4311, allocations: 231.2 kB / 0.5491 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.4316, allocations: 248.7 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-05/0.4317, allocations: 20.88 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.4325, allocations: 380.7 kB / 0.5498 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.4327, allocations: 160.2 kB / 0.5499 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.4329, allocations: 130.7 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.4337, allocations: 0.4959 MB / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4337, allocations: 0 / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4337, allocations: 0 / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.4337, allocations: 1.156 kB / 0.5505 GB, free: 9.902 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.0008804/0.4346, allocations: 0.5249 MB / 0.551 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4346, allocations: 13.48 kB / 0.5511 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.457e-05/0.4347, allocations: 64.75 kB / 0.5511 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.4359, allocations: 139 kB / 0.5513 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4363, allocations: 237.3 kB / 0.5515 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.4364, allocations: 26.48 kB / 0.5515 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.4364, allocations: 26.28 kB / 0.5515 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006909/0.4371, allocations: 451.8 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.4371, allocations: 5.484 kB / 0.552 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.4372, allocations: 5.5 kB / 0.552 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.4372, allocations: 27.36 kB / 0.552 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.4379, allocations: 422.3 kB / 0.5524 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.4401, allocations: 1.475 MB / 0.5538 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.4405, allocations: 193.8 kB / 0.554 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4407, allocations: 122.4 kB / 0.5541 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4407, allocations: 2.438 kB / 0.5541 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.4408, allocations: 34.56 kB / 0.5542 GB, free: 7.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.442e-06/0.4408, allocations: 0 / 0.5542 GB, free: 7.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001815/0.4426, allocations: 0.7325 MB / 0.5549 GB, free: 6.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4426, allocations: 84.36 kB / 0.555 GB, free: 6.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.4429, allocations: 220.8 kB / 0.5552 GB, free: 6.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.4429, allocations: 29.7 kB / 0.5552 GB, free: 6.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.443, allocations: 184.4 kB / 0.5554 GB, free: 6.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.4431, allocations: 87.27 kB / 0.5555 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4432, allocations: 57.94 kB / 0.5555 GB, free: 6.047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4434, allocations: 330.8 kB / 0.5558 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4436, allocations: 104.5 kB / 0.5559 GB, free: 5.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.4438, allocations: 213 kB / 0.5561 GB, free: 5.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.4443, allocations: 338.2 kB / 0.5565 GB, free: 4.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4443, allocations: 8 kB / 0.5565 GB, free: 4.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007832/0.4451, allocations: 421.8 kB / 0.5569 GB, free: 4.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4451, allocations: 8.406 kB / 0.5569 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4451, allocations: 8 kB / 0.5569 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.4455, allocations: 88.78 kB / 0.557 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.4457, allocations: 51.91 kB / 0.557 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.4479, allocations: 1.891 MB / 0.5589 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4481, allocations: 15.98 kB / 0.5589 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.4482, allocations: 15.94 kB / 0.5589 GB, free: 2.375 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.000211/0.4484, allocations: 181.6 kB / 0.5591 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.4484, allocations: 19.89 kB / 0.5591 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007618/0.4492, allocations: 380.8 kB / 0.5595 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4492, allocations: 4 kB / 0.5595 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4492, allocations: 4 kB / 0.5595 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4492, allocations: 3.984 kB / 0.5595 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4507, allocations: 0.8034 MB / 0.5603 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4507, allocations: 8 kB / 0.5603 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.4509, allocations: 39.91 kB / 0.5603 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/0.4511, allocations: 68.8 kB / 0.5604 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.4512, allocations: 4 kB / 0.5604 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.4533, allocations: 1.797 MB / 0.5621 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4533, allocations: 0 / 0.5621 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.4541, allocations: 467.3 kB / 0.5626 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.4542, allocations: 19.86 kB / 0.5626 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.4542, allocations: 16.05 kB / 0.5626 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.4544, allocations: 11.94 kB / 0.5626 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.4544, allocations: 31.75 kB / 0.5626 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.4544, allocations: 4 kB / 0.5626 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.4546, allocations: 147.2 kB / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4546, allocations: 0 / 0.5628 GB, free: 14.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005406/0.4551, allocations: 84 kB / 0.5629 GB, free: 14.08 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.001061/0.4562, allocations: 0.9955 MB / 0.5638 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.457, allocations: 418.3 kB / 0.5642 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.457, allocations: 0.8125 kB / 0.5642 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.4574, allocations: 274.6 kB / 0.5645 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4578, allocations: 36.91 kB / 0.5645 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.4622, allocations: 3.023 MB / 0.5675 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.4625, allocations: 197.6 kB / 0.5677 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.4627, allocations: 49.95 kB / 0.5677 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4628, allocations: 91.39 kB / 0.5678 GB, free: 8.762 MB / 414.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4628, allocations: 0 / 0.5678 GB, free: 8.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.5012, allocations: 6.504 MB / 0.5742 GB, free: 2.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.09, allocations: 4.062 kB / 0.5742 GB, free: 2.395 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.063495818991214] Failed to read output from testmodel.py, exit status != 0: 12.207659006002359 12.23706875 11.797915022 Calling exit ...