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.001338/0.001338, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001434/0.001434, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8 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.1895/0.1895, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.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: 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.002106/0.002106, allocations: 75.88 kB / 492.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 62.46 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005195/0.3315, allocations: 3.575 MB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3338, allocations: 1.502 MB / 0.547 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.334, allocations: 12.81 kB / 0.547 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008611/0.3348, allocations: 267.8 kB / 0.5472 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.3355, allocations: 278.2 kB / 0.5475 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3358, allocations: 109.8 kB / 0.5476 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3362, allocations: 341.2 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.3365, allocations: 118.4 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.3368, allocations: 158.8 kB / 0.5482 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3371, allocations: 173.5 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.3371, allocations: 18.22 kB / 0.5484 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005356/0.3377, allocations: 317.5 kB / 0.5487 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3378, allocations: 101.5 kB / 0.5488 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3379, allocations: 102.1 kB / 0.5489 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.3384, allocations: 348.2 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3384, allocations: 0 / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3384, allocations: 0 / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3384, allocations: 5.781 kB / 0.5492 GB, free: 10.95 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007175/0.3392, allocations: 445.7 kB / 0.5496 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3392, allocations: 13.52 kB / 0.5496 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.3393, allocations: 57.28 kB / 0.5497 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.3401, allocations: 92 kB / 0.5498 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.3405, allocations: 205.4 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3405, allocations: 20.28 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3406, allocations: 27.84 kB / 0.55 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.3411, allocations: 312 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3411, allocations: 1.812 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.3411, allocations: 5.281 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.3412, allocations: 24.98 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.3416, allocations: 282.9 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.3434, allocations: 1.254 MB / 0.5518 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.344, allocations: 208.1 kB / 0.552 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.3441, allocations: 51.67 kB / 0.5521 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3442, allocations: 2.219 kB / 0.5521 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3442, allocations: 39.58 kB / 0.5521 GB, free: 8.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3442, allocations: 224 / 0.5521 GB, free: 8.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009805/0.3452, allocations: 362.5 kB / 0.5525 GB, free: 8.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.3452, allocations: 80.08 kB / 0.5525 GB, free: 8.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.3455, allocations: 195 kB / 0.5527 GB, free: 8.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3455, allocations: 26.48 kB / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3456, allocations: 172.4 kB / 0.5529 GB, free: 7.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.3457, allocations: 53.5 kB / 0.553 GB, free: 7.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.3458, allocations: 45.84 kB / 0.553 GB, free: 7.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3459, allocations: 335.3 kB / 0.5533 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.346, allocations: 53.09 kB / 0.5534 GB, free: 7.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3462, allocations: 142.4 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.3465, allocations: 231.8 kB / 0.5537 GB, free: 7.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3465, allocations: 1.25 kB / 0.5537 GB, free: 7.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005061/0.347, allocations: 264.5 kB / 0.554 GB, free: 6.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.3471, allocations: 6.75 kB / 0.554 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3471, allocations: 3.469 kB / 0.554 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.3473, allocations: 41.17 kB / 0.554 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3475, allocations: 53.22 kB / 0.5541 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3489, allocations: 1.335 MB / 0.5554 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.3491, allocations: 13.52 kB / 0.5554 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3491, allocations: 12.73 kB / 0.5554 GB, free: 5.598 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 (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 0.0002084/0.3493, allocations: 154.3 kB / 0.5556 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.3494, allocations: 23.75 kB / 0.5556 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.3498, allocations: 188.1 kB / 0.5558 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3498, allocations: 2.312 kB / 0.5558 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3498, allocations: 1.219 kB / 0.5558 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.3498, allocations: 7.922 kB / 0.5558 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.3508, allocations: 0.53 MB / 0.5563 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3508, allocations: 1.219 kB / 0.5563 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.3509, allocations: 16.88 kB / 0.5563 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.3511, allocations: 38.95 kB / 0.5564 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.3511, allocations: 6.312 kB / 0.5564 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.3524, allocations: 1.321 MB / 0.5577 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3524, allocations: 5.438 kB / 0.5577 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.3528, allocations: 294.2 kB / 0.5579 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.3528, allocations: 25.62 kB / 0.558 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3529, allocations: 2.281 kB / 0.558 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.353, allocations: 10.48 kB / 0.558 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.353, allocations: 12.58 kB / 0.558 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.353, allocations: 5.656 kB / 0.558 GB, free: 3.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3532, allocations: 143.8 kB / 0.5581 GB, free: 3.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3532, allocations: 1.125 kB / 0.5581 GB, free: 3.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004373/0.3536, allocations: 52.44 kB / 0.5582 GB, free: 3.102 MB / 398.1 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.0008389/0.3544, allocations: 0.8365 MB / 0.559 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.355, allocations: 263 kB / 0.5593 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.355, allocations: 0 / 0.5593 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.3553, allocations: 179.4 kB / 0.5594 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3557, allocations: 35.2 kB / 0.5595 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.3589, allocations: 2.372 MB / 0.5618 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.3593, allocations: 0.7593 MB / 0.5625 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3594, allocations: 41.55 kB / 0.5626 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3595, allocations: 59.41 kB / 0.5626 GB, free: 14.36 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3595, allocations: 0 / 0.5626 GB, free: 14.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.393, allocations: 4.121 MB / 0.5666 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.93, allocations: 0 / 0.5666 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest_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.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.777801013995486] Failed to read output from testmodel.py, exit status != 0: 12.0365035299983 12.053028751 11.710948409 Calling exit ...