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.001795/0.001795, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002222/0.002222, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.482/1.482, allocations: 230.6 MB / 258.2 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.2006/0.2006, allocations: 38.56 MB / 353.2 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.002109/0.002109, allocations: 67.88 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005571/0.3192, allocations: 3.867 MB / 0.5469 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3208, allocations: 0.8561 MB / 0.5478 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3209, allocations: 19.25 kB / 0.5478 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.3211, allocations: 39.77 kB / 0.5478 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004858/0.3216, allocations: 165.2 kB / 0.548 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3218, allocations: 90.95 kB / 0.5481 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004103/0.3222, allocations: 376.8 kB / 0.5484 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.3223, allocations: 54.91 kB / 0.5485 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.3226, allocations: 182 kB / 0.5487 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.3229, allocations: 168.7 kB / 0.5488 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.323, allocations: 16.91 kB / 0.5488 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.323, allocations: 21.81 kB / 0.5489 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3231, allocations: 77.61 kB / 0.5489 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3233, allocations: 104 kB / 0.549 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3236, allocations: 266.4 kB / 0.5493 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3236, allocations: 0 / 0.5493 GB, free: 11.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3236, allocations: 0.9688 kB / 0.5493 GB, free: 11.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3236, allocations: 0 / 0.5493 GB, free: 11.98 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.0008798/0.3245, allocations: 499.7 kB / 0.5498 GB, free: 11.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3245, allocations: 17.64 kB / 0.5498 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.3246, allocations: 30.62 kB / 0.5498 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.3251, allocations: 267.1 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.3251, allocations: 17.53 kB / 0.5501 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.3252, allocations: 21.12 kB / 0.5501 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.3256, allocations: 269 kB / 0.5504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3256, allocations: 1.344 kB / 0.5504 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3256, allocations: 6.75 kB / 0.5504 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3256, allocations: 5.156 kB / 0.5504 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.3259, allocations: 166.3 kB / 0.5505 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3271, allocations: 1.062 MB / 0.5516 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.3273, allocations: 77.14 kB / 0.5516 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.3273, allocations: 27.12 kB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3273, allocations: 2.406 kB / 0.5517 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3274, allocations: 39.94 kB / 0.5517 GB, free: 9.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3274, allocations: 0 / 0.5517 GB, free: 9.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006741/0.3281, allocations: 345.2 kB / 0.552 GB, free: 9.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3281, allocations: 79.3 kB / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3284, allocations: 239.2 kB / 0.5523 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3284, allocations: 25.7 kB / 0.5524 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.3285, allocations: 192.2 kB / 0.5525 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3285, allocations: 35.94 kB / 0.5526 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.3286, allocations: 39.62 kB / 0.5526 GB, free: 9.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3288, allocations: 336.3 kB / 0.5529 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.3288, allocations: 30.61 kB / 0.553 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3289, allocations: 122.1 kB / 0.5531 GB, free: 8.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.3291, allocations: 160.8 kB / 0.5532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3291, allocations: 1.031 kB / 0.5532 GB, free: 8.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002635/0.3294, allocations: 182 kB / 0.5534 GB, free: 8.285 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3294, allocations: 17.55 kB / 0.5534 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3294, allocations: 3.844 kB / 0.5534 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3294, allocations: 9.125 kB / 0.5534 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3296, allocations: 39.95 kB / 0.5535 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3296, allocations: 8.469 kB / 0.5535 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.3297, allocations: 7.75 kB / 0.5535 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3297, allocations: 8.781 kB / 0.5535 GB, free: 8.258 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.0001468/0.3299, allocations: 150.1 kB / 0.5536 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.3299, allocations: 21.58 kB / 0.5537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.3301, allocations: 97.09 kB / 0.5538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3301, allocations: 9.062 kB / 0.5538 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3301, allocations: 1.156 kB / 0.5538 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3301, allocations: 1.062 kB / 0.5538 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.3305, allocations: 344.7 kB / 0.5541 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3305, allocations: 1.219 kB / 0.5541 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.3306, allocations: 18.09 kB / 0.5541 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3306, allocations: 5.188 kB / 0.5541 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3306, allocations: 1.219 kB / 0.5541 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3306, allocations: 5.047 kB / 0.5541 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3306, allocations: 5.266 kB / 0.5541 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3309, allocations: 233.6 kB / 0.5544 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3309, allocations: 21.73 kB / 0.5544 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3309, allocations: 9.438 kB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.331, allocations: 1.469 kB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.331, allocations: 6.891 kB / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.3311, allocations: 2.938 kB / 0.5544 GB, free: 7.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3312, allocations: 163.8 kB / 0.5546 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3312, allocations: 0 / 0.5546 GB, free: 7.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000302/0.3315, allocations: 39.16 kB / 0.5546 GB, free: 7.348 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 9.358e-05/0.3316, allocations: 100.3 kB / 0.5547 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.3318, allocations: 87.02 kB / 0.5548 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3318, allocations: 0 / 0.5548 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.396e-05/0.3318, allocations: 31.61 kB / 0.5548 GB, free: 7.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.3323, allocations: 58.5 kB / 0.5549 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/0.3332, allocations: 0.5313 MB / 0.5554 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.3333, allocations: 150.9 kB / 0.5555 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.3334, allocations: 19.09 kB / 0.5555 GB, free: 6.641 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3334, allocations: 0 / 0.5555 GB, free: 6.641 MB / 398.1 MB Notification: Performance of Templates: time 0.004854/0.3382, allocations: 2.77 MB / 0.5582 GB, free: 4.391 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: 7.77900072792545] Failed to read output from testmodel.py, exit status != 0: 0.3475728267803788 0.36085731400000004 0.034159757 Calling exit ...