Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.00185/0.00185, 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.001448/0.001448, allocations: 211.8 kB / 23.73 MB, free: 4.387 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.1872/0.1872, allocations: 38.54 MB / 352.5 MB, free: 12.3 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.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.002053/0.002053, allocations: 63.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2979, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005674/0.3035, allocations: 4.021 MB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3054, allocations: 0.8688 MB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.3056, allocations: 23.19 kB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.3058, allocations: 47.66 kB / 0.5468 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006847/0.3065, allocations: 179.2 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3068, allocations: 92.12 kB / 0.547 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005429/0.3073, allocations: 406.7 kB / 0.5474 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.3076, allocations: 77.86 kB / 0.5475 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/0.308, allocations: 192.5 kB / 0.5477 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.3083, allocations: 187.6 kB / 0.5479 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.3084, allocations: 19.16 kB / 0.5479 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.3084, allocations: 23.19 kB / 0.5479 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3086, allocations: 92.62 kB / 0.548 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.3087, allocations: 116 kB / 0.5481 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.3092, allocations: 287.8 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3092, allocations: 4 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3092, allocations: 0 / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3092, allocations: 5.125 kB / 0.5484 GB, free: 11.39 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009858/0.3102, allocations: 0.5282 MB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3102, allocations: 13.45 kB / 0.5489 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.3103, allocations: 58.06 kB / 0.549 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.3104, allocations: 35.84 kB / 0.549 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.3109, allocations: 283.9 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3109, allocations: 21.69 kB / 0.5493 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.3109, allocations: 25.06 kB / 0.5493 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.3114, allocations: 292 kB / 0.5496 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.3114, allocations: 1 kB / 0.5496 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3115, allocations: 6.062 kB / 0.5496 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3115, allocations: 5.719 kB / 0.5496 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.3118, allocations: 182.2 kB / 0.5498 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.3134, allocations: 1.148 MB / 0.5509 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.3137, allocations: 103.3 kB / 0.551 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.3138, allocations: 42.33 kB / 0.551 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3138, allocations: 5.312 kB / 0.551 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3138, allocations: 33.19 kB / 0.5511 GB, free: 9.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3138, allocations: 0 / 0.5511 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008359/0.3147, allocations: 416.7 kB / 0.5515 GB, free: 8.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3147, allocations: 91.12 kB / 0.5516 GB, free: 8.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.315, allocations: 251.8 kB / 0.5518 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.315, allocations: 30.89 kB / 0.5518 GB, free: 8.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3152, allocations: 197.2 kB / 0.552 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3152, allocations: 37.19 kB / 0.5521 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.3153, allocations: 44.48 kB / 0.5521 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3154, allocations: 332.2 kB / 0.5524 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.3155, allocations: 35.8 kB / 0.5525 GB, free: 7.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3157, allocations: 133.5 kB / 0.5526 GB, free: 7.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3159, allocations: 196.1 kB / 0.5528 GB, free: 7.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3159, allocations: 1.094 kB / 0.5528 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003181/0.3162, allocations: 205.2 kB / 0.553 GB, free: 7.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3162, allocations: 10.12 kB / 0.553 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3162, allocations: 3.656 kB / 0.553 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3163, allocations: 8.875 kB / 0.553 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3164, allocations: 41.73 kB / 0.553 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.3164, allocations: 10.09 kB / 0.553 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3166, allocations: 18.81 kB / 0.5531 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.3166, allocations: 17.36 kB / 0.5531 GB, free: 7.359 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): 24 * 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.0001829/0.3168, allocations: 148.9 kB / 0.5532 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.3168, allocations: 22.02 kB / 0.5532 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.317, allocations: 125.4 kB / 0.5534 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3171, allocations: 1.938 kB / 0.5534 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3171, allocations: 1.188 kB / 0.5534 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3171, allocations: 9.031 kB / 0.5534 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.3176, allocations: 445.5 kB / 0.5538 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3176, allocations: 5.031 kB / 0.5538 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.3178, allocations: 25.98 kB / 0.5538 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3178, allocations: 1.094 kB / 0.5538 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3178, allocations: 5.875 kB / 0.5538 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.3178, allocations: 8.984 kB / 0.5538 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3178, allocations: 1.156 kB / 0.5538 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3181, allocations: 280.3 kB / 0.5541 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.3182, allocations: 22.02 kB / 0.5541 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3182, allocations: 10.05 kB / 0.5541 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3183, allocations: 9 kB / 0.5541 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.3183, allocations: 8.797 kB / 0.5541 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3184, allocations: 2.438 kB / 0.5542 GB, free: 6.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3185, allocations: 170.1 kB / 0.5543 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3185, allocations: 3.938 kB / 0.5543 GB, free: 6.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.3188, allocations: 47.78 kB / 0.5544 GB, free: 6.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006251/0.3195, allocations: 0.8063 MB / 0.5551 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.3197, allocations: 121 kB / 0.5553 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3197, allocations: 0 / 0.5553 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.3198, allocations: 40.27 kB / 0.5553 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3202, allocations: 56.31 kB / 0.5554 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.3231, allocations: 2.46 MB / 0.5578 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3233, allocations: 162.8 kB / 0.5579 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3234, allocations: 34.27 kB / 0.5579 GB, free: 3.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3235, allocations: 79.41 kB / 0.558 GB, free: 3.086 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3235, allocations: 0 / 0.558 GB, free: 3.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.3716, allocations: 5.379 MB / 0.5633 GB, free: 13.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.57, allocations: 4 kB / 0.5633 GB, free: 13.86 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.431504417967517] Failed to read output from testmodel.py, exit status != 0: 11.712208499957342 11.740857675 11.426340341 Calling exit ...