Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001743/0.001743, 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.002303/0.002303, 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.61/1.61, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1976/0.1976, allocations: 38.54 MB / 352.5 MB, free: 12.32 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [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.002598/0.002598, allocations: 75.89 kB / 493 MB, free: 4.215 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3929, allocations: 62.46 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006907/0.3998, allocations: 3.867 MB / 0.5462 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4016, allocations: 0.857 MB / 0.547 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.4017, allocations: 18.5 kB / 0.5471 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.4019, allocations: 44.44 kB / 0.5471 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005183/0.4024, allocations: 160.5 kB / 0.5472 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.4027, allocations: 90.45 kB / 0.5473 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.4031, allocations: 376.5 kB / 0.5477 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.4033, allocations: 63.03 kB / 0.5478 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.4037, allocations: 177.9 kB / 0.5479 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.404, allocations: 160.8 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.4041, allocations: 16.22 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.4041, allocations: 17.97 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4043, allocations: 82.58 kB / 0.5482 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.4044, allocations: 103.5 kB / 0.5483 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004121/0.4048, allocations: 268.5 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4048, allocations: 1 kB / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4048, allocations: 0 / 0.5485 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4049, allocations: 0 / 0.5485 GB, free: 11.82 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.001077/0.4059, allocations: 0.4932 MB / 0.549 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.406, allocations: 11.95 kB / 0.549 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.4061, allocations: 31.72 kB / 0.5491 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.4066, allocations: 271.5 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.4067, allocations: 20.22 kB / 0.5493 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.4067, allocations: 17.16 kB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.4072, allocations: 268.8 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4072, allocations: 1.156 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.4072, allocations: 19.17 kB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.4072, allocations: 4.75 kB / 0.5496 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.4075, allocations: 159.2 kB / 0.5498 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.4089, allocations: 1.064 MB / 0.5508 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.4091, allocations: 77.77 kB / 0.5509 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.4092, allocations: 28.28 kB / 0.5509 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4092, allocations: 1.406 kB / 0.5509 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4092, allocations: 36.03 kB / 0.551 GB, free: 9.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4092, allocations: 0 / 0.551 GB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000798/0.41, allocations: 338 kB / 0.5513 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.4101, allocations: 86.53 kB / 0.5514 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.4103, allocations: 234.9 kB / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4104, allocations: 30.89 kB / 0.5516 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4105, allocations: 191.9 kB / 0.5518 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4105, allocations: 31.64 kB / 0.5518 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.4106, allocations: 43.05 kB / 0.5519 GB, free: 8.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4108, allocations: 331.7 kB / 0.5522 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.4108, allocations: 31.95 kB / 0.5522 GB, free: 8.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.411, allocations: 119.7 kB / 0.5523 GB, free: 8.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.4112, allocations: 165.1 kB / 0.5525 GB, free: 8.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4112, allocations: 1.125 kB / 0.5525 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002941/0.4115, allocations: 181 kB / 0.5527 GB, free: 8.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4115, allocations: 7.281 kB / 0.5527 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4115, allocations: 2.844 kB / 0.5527 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.4115, allocations: 9.969 kB / 0.5527 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.4117, allocations: 47.23 kB / 0.5527 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.4117, allocations: 8.5 kB / 0.5527 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.4118, allocations: 8.25 kB / 0.5528 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4118, allocations: 12.72 kB / 0.5528 GB, free: 8.09 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 (22): * Single equations (assignments): 22 * 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.0001499/0.412, allocations: 150.8 kB / 0.5529 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.412, allocations: 24.59 kB / 0.5529 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.4122, allocations: 100.8 kB / 0.553 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4122, allocations: 5.969 kB / 0.553 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4122, allocations: 0.9688 kB / 0.553 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4122, allocations: 3.938 kB / 0.553 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.4127, allocations: 349.5 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4127, allocations: 1.25 kB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-05/0.4128, allocations: 18.52 kB / 0.5534 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4128, allocations: 5.344 kB / 0.5534 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4128, allocations: 1.406 kB / 0.5534 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4128, allocations: 5.094 kB / 0.5534 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4128, allocations: 5.062 kB / 0.5534 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4131, allocations: 228.6 kB / 0.5536 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.4132, allocations: 18.16 kB / 0.5536 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4132, allocations: 1.188 kB / 0.5536 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.4133, allocations: 9.25 kB / 0.5537 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.4133, allocations: 7.391 kB / 0.5537 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4133, allocations: 2.344 kB / 0.5537 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.4135, allocations: 160.3 kB / 0.5538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4135, allocations: 0 / 0.5538 GB, free: 7.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.4138, allocations: 39.41 kB / 0.5539 GB, free: 7.18 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 (9): * Single equations (assignments): 8 * 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.0001085/0.414, allocations: 95.88 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4142, allocations: 87.53 kB / 0.554 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.4142, allocations: 0 / 0.554 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.768e-05/0.4142, allocations: 28.2 kB / 0.5541 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.4147, allocations: 56.53 kB / 0.5541 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.4158, allocations: 0.5113 MB / 0.5546 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.416, allocations: 150.2 kB / 0.5548 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.4161, allocations: 21.58 kB / 0.5548 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.4162, allocations: 22.77 kB / 0.5548 GB, free: 6.5 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4162, allocations: 0 / 0.5548 GB, free: 6.5 MB / 398.1 MB Notification: Performance of Templates: time 0.006174/0.4224, allocations: 2.086 MB / 0.5568 GB, free: 5.016 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.329174663871527] Failed to read output from testmodel.py, exit status != 0: 0.43228114396333694 0.44727616000000003 0.039135785 Calling exit ...