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.001719/0.001719, allocations: 90.58 kB / 20.25 MB, free: 4.297 MB / 18.57 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.00208/0.00208, allocations: 161.3 kB / 23.56 MB, free: 0.9844 MB / 18.57 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.03907/0.03907, allocations: 4.466 MB / 264.8 MB, free: 8.578 MB / 250.7 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 1.944e-06/1.944e-06, allocations: 0 / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.099e-05, allocations: 2.312 kB / 335.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002169/0.0022, allocations: 1.664 MB / 337.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.003848, allocations: 1.579 MB / 339 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.003959, allocations: 4 kB / 339 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.004312, allocations: 143.1 kB / 339.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.004624, allocations: 147 kB / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.005904, allocations: 0.7817 MB / 340 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.006249, allocations: 338.3 kB / 340.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.006412, allocations: 83.34 kB / 340.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.006579, allocations: 199.5 kB / 340.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.006772, allocations: 135.6 kB / 340.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.006817, allocations: 36 kB / 340.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.007136, allocations: 227.6 kB / 341 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.007185, allocations: 67.73 kB / 341.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.007307, allocations: 119.6 kB / 341.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.007813, allocations: 0.5337 MB / 341.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.007819, allocations: 0 / 341.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.007821, allocations: 0 / 341.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.007828, allocations: 0 / 341.7 MB, free: 7.57 MB / 266.7 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.002329/0.01016, allocations: 0.8499 MB / 342.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.01019, allocations: 8.031 kB / 342.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.01047, allocations: 68.69 kB / 342.7 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.01074, allocations: 245.2 kB / 342.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.01076, allocations: 20.88 kB / 342.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.0108, allocations: 32.38 kB / 343 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.01126, allocations: 396 kB / 343.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01127, allocations: 192 / 343.4 MB, free: 5.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.0113, allocations: 12.36 kB / 343.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.01131, allocations: 8.375 kB / 343.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.01172, allocations: 367.5 kB / 343.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.01301, allocations: 0.873 MB / 344.6 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.01372, allocations: 360.8 kB / 345 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.01397, allocations: 222.5 kB / 345.2 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008114/0.01478, allocations: 0.6289 MB / 345.8 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.01526, allocations: 427.4 kB / 346.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.01526, allocations: 0 / 346.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002845/0.01811, allocations: 1.11 MB / 347.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.01817, allocations: 191.9 kB / 347.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01838, allocations: 269.6 kB / 347.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01841, allocations: 33.7 kB / 347.8 MB, free: 1.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.01849, allocations: 160.7 kB / 348 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.01854, allocations: 107 kB / 348.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.01866, allocations: 82.19 kB / 348.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.01872, allocations: 338.8 kB / 348.5 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.01895, allocations: 222.6 kB / 348.7 MB, free: 296 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.01927, allocations: 299.2 kB / 349 MB, free: 15.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005177/0.02444, allocations: 1.425 MB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.02445, allocations: 0 / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002259/0.02671, allocations: 0.8732 MB / 351.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.02677, allocations: 37.69 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.02679, allocations: 4.031 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.02849, allocations: 360.5 kB / 351.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.02874, allocations: 59.91 kB / 351.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/0.03357, allocations: 2.767 MB / 354.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.03395, allocations: 43.91 kB / 354.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.03399, allocations: 20 kB / 354.6 MB, free: 10.19 MB / 282.7 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.0004022/0.03439, allocations: 212 kB / 354.8 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.03449, allocations: 39.86 kB / 354.8 MB, free: 9.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.03648, allocations: 0.7834 MB / 355.6 MB, free: 9.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.03649, allocations: 8 kB / 355.6 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.0365, allocations: 4.109 kB / 355.6 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.0365, allocations: 3.938 kB / 355.6 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.03696, allocations: 313 kB / 355.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.03696, allocations: 0 / 355.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.03708, allocations: 23.98 kB / 355.9 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.0388, allocations: 348.5 kB / 356.3 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.03884, allocations: 11.98 kB / 356.3 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.04326, allocations: 2.757 MB / 359.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.04327, allocations: 3.938 kB / 359.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.04514, allocations: 0.7782 MB / 359.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.04521, allocations: 35.69 kB / 359.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.04527, allocations: 19.92 kB / 359.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.04548, allocations: 8.109 kB / 359.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.04559, allocations: 35.88 kB / 359.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.04562, allocations: 15.98 kB / 360 MB, free: 4.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002281/0.04585, allocations: 189.2 kB / 360.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04585, allocations: 0 / 360.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.0464, allocations: 124 kB / 360.3 MB, free: 4.301 MB / 282.7 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.0002623/0.04667, allocations: 123.2 kB / 360.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.04828, allocations: 0.7702 MB / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.04828, allocations: 0 / 361.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.04927, allocations: 0.4994 MB / 361.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.04953, allocations: 30.69 kB / 361.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.05084, allocations: 0.641 MB / 362.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.05103, allocations: 156.2 kB / 362.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.05114, allocations: 26.28 kB / 362.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.05122, allocations: 32.48 kB / 362.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05122, allocations: 0 / 362.5 MB, free: 1.891 MB / 282.7 MB Notification: Performance of Templates: time 0.01373/0.06494, allocations: 6.818 MB / 369.3 MB, free: 11.11 MB / 298.7 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.708650321001187]