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.0008949/0.0008949, allocations: 79.75 kB / 9.861 MB, free: 0.832 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001931, allocations: 439.8 kB / 10.29 MB, free: 408 kB / 10.45 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.001083/0.001083, allocations: 161.5 kB / 11.19 MB, free: 2.988 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009823/0.002066, allocations: 476.2 kB / 11.65 MB, free: 2.523 MB / 13.93 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.083/1.083, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09265/1.176, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] 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.03265/0.03265, allocations: 4.498 MB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005038/0.03768, allocations: 2.073 MB / 250.5 MB, free: 8.305 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.754e-06/1.754e-06, allocations: 0 / 251.7 MB, free: 7.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.218e-05, allocations: 6.312 kB / 251.7 MB, free: 7.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.001978/0.002, allocations: 1.815 MB / 253.5 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.003682, allocations: 1.644 MB / 255.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003783, allocations: 7.938 kB / 255.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.004023, allocations: 143.1 kB / 255.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.004225, allocations: 151 kB / 255.5 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.005384, allocations: 0.7815 MB / 256.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.005749, allocations: 338.4 kB / 256.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.00589, allocations: 85.98 kB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.006071, allocations: 239.4 kB / 256.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.006247, allocations: 143.6 kB / 257.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.006283, allocations: 32 kB / 257.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.006611, allocations: 231.6 kB / 257.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.006653, allocations: 67.73 kB / 257.4 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.00674, allocations: 119.6 kB / 257.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.007155, allocations: 434.6 kB / 257.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.007167, allocations: 0 / 257.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007168, allocations: 4 kB / 257.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.007182, allocations: 0 / 257.9 MB, free: 0.8438 MB / 250.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.00155/0.008732, allocations: 0.9417 MB / 258.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.008763, allocations: 8.031 kB / 258.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.008944, allocations: 64.89 kB / 258.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.009133, allocations: 169.1 kB / 259.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.00915, allocations: 20.88 kB / 259.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.009182, allocations: 28.38 kB / 259.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.009406, allocations: 232 kB / 259.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.009416, allocations: 192 / 259.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.009435, allocations: 8.375 kB / 259.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.009445, allocations: 4.375 kB / 259.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.009578, allocations: 125.1 kB / 259.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.01035, allocations: 0.5776 MB / 260.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.0107, allocations: 274.9 kB / 260.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.313e-05/0.01079, allocations: 98.53 kB / 260.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.01132, allocations: 0.502 MB / 261 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.01156, allocations: 325.5 kB / 261.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.01156, allocations: 0 / 261.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001236/0.01279, allocations: 0.6719 MB / 261.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.01286, allocations: 195.9 kB / 262.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.01302, allocations: 246.5 kB / 262.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01304, allocations: 33.7 kB / 262.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.0131, allocations: 144.7 kB / 262.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.01316, allocations: 115.1 kB / 262.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.679e-05/0.01325, allocations: 82.14 kB / 262.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.01334, allocations: 346.7 kB / 263.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.01343, allocations: 97.52 kB / 263.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.01383, allocations: 171.2 kB / 263.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.01417, allocations: 439 kB / 263.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01418, allocations: 0 / 263.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006623/0.01484, allocations: 498.8 kB / 264.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.01488, allocations: 41.69 kB / 264.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01489, allocations: 0 / 264.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/0.01561, allocations: 264.5 kB / 264.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01576, allocations: 63.91 kB / 264.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.01733, allocations: 1.796 MB / 266.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.01748, allocations: 35.84 kB / 266.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.0175, allocations: 19.92 kB / 266.5 MB, free: 7.758 MB / 266.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 {(4,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.01769, allocations: 179.9 kB / 266.7 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.01773, allocations: 31.97 kB / 266.7 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006499/0.01838, allocations: 465.8 kB / 267.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01839, allocations: 8 kB / 267.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01839, allocations: 7.984 kB / 267.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.0184, allocations: 7.984 kB / 267.2 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.01862, allocations: 225.6 kB / 267.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01862, allocations: 0 / 267.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.01868, allocations: 31.98 kB / 267.4 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006519/0.01933, allocations: 256.5 kB / 267.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.01935, allocations: 15.92 kB / 267.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.02086, allocations: 1.761 MB / 269.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02086, allocations: 0 / 269.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006163/0.02148, allocations: 483.2 kB / 269.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.02151, allocations: 27.75 kB / 269.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.02154, allocations: 16 kB / 270 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.02163, allocations: 15.98 kB / 270 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.0217, allocations: 23.95 kB / 270 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.02171, allocations: 8 kB / 270 MB, free: 4.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.719e-05/0.02178, allocations: 81.61 kB / 270.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02178, allocations: 0 / 270.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.02222, allocations: 123.9 kB / 270.2 MB, free: 3.844 MB / 266.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 {(4,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.02242, allocations: 115.3 kB / 270.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000971/0.02339, allocations: 0.58 MB / 270.9 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.0234, allocations: 3.938 kB / 270.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.02379, allocations: 440.6 kB / 271.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.02391, allocations: 20.5 kB / 271.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.02487, allocations: 0.5889 MB / 271.9 MB, free: 2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.02493, allocations: 101.5 kB / 272 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.485e-05/0.02501, allocations: 34.27 kB / 272.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02512, allocations: 91.38 kB / 272.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02512, allocations: 0 / 272.2 MB, free: 1.75 MB / 266.7 MB Notification: Performance of Templates: time 0.009745/0.03486, allocations: 7.388 MB / 279.5 MB, free: 10.4 MB / 282.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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6415044721215963]