Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.001467/0.001467, allocations: 78.81 kB / 19.8 MB, free: 2.078 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.001603/0.001603, allocations: 159.4 kB / 23.04 MB, free: 4.984 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 9.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03919/0.03919, allocations: 4.471 MB / 264.3 MB, free: 12.34 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") translateModel(PowerSysPro.Examples.OneSourceOneLigneWithFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 43.92 kB / 389.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1218, allocations: 55.01 MB / 444.8 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003192/0.125, allocations: 1.648 MB / 446.5 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.1273, allocations: 1.587 MB / 448.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1274, allocations: 4 kB / 448.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.1278, allocations: 131.3 kB / 448.2 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1282, allocations: 147.1 kB / 448.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1299, allocations: 0.7859 MB / 449.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.1304, allocations: 322.6 kB / 449.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1306, allocations: 83.3 kB / 449.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1308, allocations: 203.4 kB / 449.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1311, allocations: 159.3 kB / 449.9 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.1311, allocations: 36 kB / 449.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.1315, allocations: 215.8 kB / 450.1 MB, free: 476 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.1316, allocations: 67.77 kB / 450.2 MB, free: 408 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1318, allocations: 131.4 kB / 450.3 MB, free: 276 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2103/0.3421, allocations: 0.5205 MB / 450.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3421, allocations: 2.375 kB / 450.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3421, allocations: 0 / 450.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.3421, allocations: 1.469 kB / 450.8 MB, free: 15.27 MB / 366.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.002552/0.3447, allocations: 0.8532 MB / 451.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3447, allocations: 12.38 kB / 451.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.3449, allocations: 50.41 kB / 451.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3452, allocations: 239.6 kB / 452 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.3453, allocations: 19.91 kB / 452 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.3453, allocations: 27.91 kB / 452 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.3458, allocations: 402.4 kB / 452.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3458, allocations: 1.688 kB / 452.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.3458, allocations: 14.5 kB / 452.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3459, allocations: 4.531 kB / 452.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.3463, allocations: 371.2 kB / 452.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.3478, allocations: 0.8582 MB / 453.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007527/0.3485, allocations: 369.8 kB / 454 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3488, allocations: 217.8 kB / 454.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.3496, allocations: 0.6293 MB / 454.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.35, allocations: 418.6 kB / 455.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.35, allocations: 0 / 455.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003066/0.3531, allocations: 1.104 MB / 456.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3532, allocations: 194.6 kB / 456.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.3534, allocations: 268.7 kB / 456.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.3535, allocations: 37.3 kB / 456.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.3535, allocations: 157 kB / 457 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.3536, allocations: 111.9 kB / 457.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3537, allocations: 84.94 kB / 457.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.3538, allocations: 334.5 kB / 457.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.3541, allocations: 218.7 kB / 457.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3544, allocations: 296 kB / 458.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004547/0.3589, allocations: 1.431 MB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.3589, allocations: 1.25 kB / 459.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001823/0.3608, allocations: 0.8461 MB / 460.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3608, allocations: 38.83 kB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3608, allocations: 2.469 kB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.3621, allocations: 312.2 kB / 460.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.3624, allocations: 64.11 kB / 460.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003706/0.3661, allocations: 2.758 MB / 463.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.3666, allocations: 43.44 kB / 463.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.3666, allocations: 17.59 kB / 463.6 MB, free: 8.191 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary part of complex number\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004427/0.3671, allocations: 214.7 kB / 463.8 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.3672, allocations: 30 kB / 463.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.3691, allocations: 0.7846 MB / 464.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3691, allocations: 4.359 kB / 464.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3691, allocations: 5.797 kB / 464.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3691, allocations: 6.188 kB / 464.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.3695, allocations: 311.1 kB / 464.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3695, allocations: 0 / 464.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.3696, allocations: 24.47 kB / 464.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3708, allocations: 308.3 kB / 465.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.3708, allocations: 8.656 kB / 465.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.3743, allocations: 2.758 MB / 468 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3743, allocations: 0 / 468 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.3759, allocations: 0.7733 MB / 468.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.376, allocations: 30.91 kB / 468.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.3761, allocations: 10.02 kB / 468.8 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3763, allocations: 12.94 kB / 468.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.3764, allocations: 27.7 kB / 468.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3765, allocations: 13.56 kB / 468.9 MB, free: 4.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.3767, allocations: 188.8 kB / 469 MB, free: 4.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3767, allocations: 0 / 469 MB, free: 4.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008251/0.3776, allocations: 130.8 kB / 469.2 MB, free: 4.648 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/0.3778, allocations: 125.4 kB / 469.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3797, allocations: 0.7706 MB / 470.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3797, allocations: 5.312 kB / 470.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.3806, allocations: 0.4973 MB / 470.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3808, allocations: 28.19 kB / 470.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3821, allocations: 0.6328 MB / 471.2 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3823, allocations: 158.6 kB / 471.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.3824, allocations: 34.22 kB / 471.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.3825, allocations: 27.7 kB / 471.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3825, allocations: 0 / 471.4 MB, free: 3.242 MB / 366.1 MB Notification: Performance of Templates: time 0.01505/0.3975, allocations: 6.77 MB / 478.2 MB, free: 1.137 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.857340080663562] Failed to read output from testmodel.py, exit status != 0: 0.40738985501229763 0.42176635300000004 0.07652508300000001 Calling exit ...