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.00139/0.00139, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001523/0.001523, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.1875/0.1875, allocations: 38.52 MB / 352.5 MB, free: 12.54 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.002043/0.002043, allocations: 71.89 kB / 492.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 62.46 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006006/0.348, allocations: 4.23 MB / 0.5461 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3496, allocations: 0.9406 MB / 0.5471 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3498, allocations: 15.25 kB / 0.5471 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.35, allocations: 51.72 kB / 0.5471 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.3505, allocations: 182.5 kB / 0.5473 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3508, allocations: 92.38 kB / 0.5474 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.3512, allocations: 403.5 kB / 0.5478 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.3515, allocations: 77.8 kB / 0.5478 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.3518, allocations: 185.4 kB / 0.548 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.3521, allocations: 198.6 kB / 0.5482 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.3521, allocations: 19.56 kB / 0.5482 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.3522, allocations: 19.16 kB / 0.5482 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3523, allocations: 92.25 kB / 0.5483 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3525, allocations: 140.2 kB / 0.5485 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.3529, allocations: 291.9 kB / 0.5487 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3529, allocations: 1.344 kB / 0.5487 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3529, allocations: 3.938 kB / 0.5487 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3529, allocations: 0 / 0.5487 GB, free: 11.23 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.001046/0.3539, allocations: 0.5321 MB / 0.5493 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.354, allocations: 12.89 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.933e-05/0.354, allocations: 58.61 kB / 0.5493 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.3541, allocations: 32.47 kB / 0.5494 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.3546, allocations: 278.6 kB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3547, allocations: 17.34 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.3547, allocations: 22.16 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.3552, allocations: 293.6 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3552, allocations: 0 / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.3552, allocations: 18.58 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3553, allocations: 5.875 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.3556, allocations: 178.8 kB / 0.5501 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3571, allocations: 1.189 MB / 0.5513 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.3575, allocations: 102.3 kB / 0.5514 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.3575, allocations: 46.36 kB / 0.5514 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3576, allocations: 1.062 kB / 0.5514 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.3576, allocations: 43.61 kB / 0.5515 GB, free: 8.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.3576, allocations: 1.156 kB / 0.5515 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009093/0.3585, allocations: 415.9 kB / 0.5519 GB, free: 8.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3586, allocations: 79.33 kB / 0.552 GB, free: 8.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3589, allocations: 247 kB / 0.5522 GB, free: 8.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3589, allocations: 27.2 kB / 0.5522 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.359, allocations: 200.3 kB / 0.5524 GB, free: 8.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3591, allocations: 45.05 kB / 0.5525 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.3591, allocations: 44.5 kB / 0.5525 GB, free: 7.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3593, allocations: 332.3 kB / 0.5528 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.3594, allocations: 43.17 kB / 0.5529 GB, free: 7.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3595, allocations: 128.5 kB / 0.553 GB, free: 7.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.3598, allocations: 193.3 kB / 0.5532 GB, free: 7.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3598, allocations: 0 / 0.5532 GB, free: 7.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003553/0.3602, allocations: 210.2 kB / 0.5534 GB, free: 7.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3602, allocations: 9.469 kB / 0.5534 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3602, allocations: 7.25 kB / 0.5534 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3602, allocations: 4.625 kB / 0.5534 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3604, allocations: 47.14 kB / 0.5534 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.3604, allocations: 8.359 kB / 0.5534 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3605, allocations: 11.97 kB / 0.5534 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.3606, allocations: 13.69 kB / 0.5535 GB, free: 7.156 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.0001792/0.3607, allocations: 151.4 kB / 0.5536 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.3608, allocations: 22.08 kB / 0.5536 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3611, allocations: 135.3 kB / 0.5538 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3611, allocations: 0.9375 kB / 0.5538 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3611, allocations: 0.9688 kB / 0.5538 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3611, allocations: 9.031 kB / 0.5538 GB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.3618, allocations: 453 kB / 0.5542 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3618, allocations: 1.125 kB / 0.5542 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.362, allocations: 22.23 kB / 0.5542 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.362, allocations: 0.9375 kB / 0.5542 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.362, allocations: 10.12 kB / 0.5542 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.362, allocations: 1.094 kB / 0.5542 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.362, allocations: 1.125 kB / 0.5542 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.3625, allocations: 290.1 kB / 0.5545 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.3625, allocations: 18.45 kB / 0.5545 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.3625, allocations: 10.06 kB / 0.5545 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3627, allocations: 5.062 kB / 0.5545 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3627, allocations: 7.297 kB / 0.5545 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3627, allocations: 3.312 kB / 0.5546 GB, free: 6.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.3629, allocations: 177.7 kB / 0.5547 GB, free: 6.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3629, allocations: 0 / 0.5547 GB, free: 6.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.3633, allocations: 44.62 kB / 0.5548 GB, free: 6.102 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.000762/0.3641, allocations: 0.8108 MB / 0.5556 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3643, allocations: 112.5 kB / 0.5557 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3643, allocations: 0 / 0.5557 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3644, allocations: 40.98 kB / 0.5557 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3649, allocations: 61.14 kB / 0.5558 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3681, allocations: 2.452 MB / 0.5582 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3685, allocations: 0.7736 MB / 0.5589 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3686, allocations: 34.27 kB / 0.5589 GB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3688, allocations: 79.41 kB / 0.559 GB, free: 2.336 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3688, allocations: 0 / 0.559 GB, free: 2.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4034, allocations: 4.856 MB / 0.5638 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.53, allocations: 6.469 kB / 0.5638 GB, free: 13.62 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.38459443100146] Failed to read output from testmodel.py, exit status != 0: 11.63832700200146 11.653566855 11.297581547 Calling exit ...