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.001378/0.001378, allocations: 84.22 kB / 20.98 MB, free: 3.57 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.001293/0.001293, allocations: 165.3 kB / 24.28 MB, free: 272 kB / 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.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.656 MB / 186.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.02387/0.02387, allocations: 4.485 MB / 265.6 MB, free: 8.645 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 2.344e-06/2.344e-06, allocations: 0 / 336.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.62e-05, allocations: 2.312 kB / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.003094/0.00313, allocations: 1.799 MB / 338.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.00545, allocations: 1.621 MB / 339.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.005637, allocations: 11.94 kB / 339.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.006115, allocations: 135.1 kB / 340 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.006532, allocations: 151 kB / 340.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.007952, allocations: 0.7973 MB / 341 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005073/0.00846, allocations: 346.3 kB / 341.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.008661, allocations: 75.36 kB / 341.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.008895, allocations: 203.5 kB / 341.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.009166, allocations: 143.6 kB / 341.7 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.009229, allocations: 36 kB / 341.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.009643, allocations: 223.6 kB / 342 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.009697, allocations: 71.73 kB / 342 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.009822, allocations: 111.7 kB / 342.2 MB, free: 7.902 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.01045, allocations: 438.6 kB / 342.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.01045, allocations: 0 / 342.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01046, allocations: 0 / 342.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.01046, allocations: 4 kB / 342.6 MB, free: 7.469 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.00156/0.01202, allocations: 0.9614 MB / 343.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.01206, allocations: 12.03 kB / 343.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.01229, allocations: 68.69 kB / 343.6 MB, free: 6.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.01259, allocations: 244.2 kB / 343.9 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.01262, allocations: 16.88 kB / 343.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.01266, allocations: 28.38 kB / 343.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.01309, allocations: 252 kB / 344.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.0131, allocations: 192 / 344.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01312, allocations: 4.375 kB / 344.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.01314, allocations: 8.375 kB / 344.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.01337, allocations: 164.5 kB / 344.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.01469, allocations: 0.8567 MB / 345.2 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.01528, allocations: 257.3 kB / 345.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.01548, allocations: 133.2 kB / 345.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.01614, allocations: 0.6562 MB / 346.2 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.01648, allocations: 337.1 kB / 346.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.01648, allocations: 0 / 346.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002042/0.01852, allocations: 0.787 MB / 347.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.01857, allocations: 195.9 kB / 347.5 MB, free: 2.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.01876, allocations: 308.2 kB / 347.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.0188, allocations: 33.7 kB / 347.9 MB, free: 1.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.01889, allocations: 207.4 kB / 348.1 MB, free: 1.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.01897, allocations: 103.1 kB / 348.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.0191, allocations: 99.83 kB / 348.3 MB, free: 1.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.039e-05/0.01918, allocations: 0.5118 MB / 348.8 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.01939, allocations: 122.6 kB / 348.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.0196, allocations: 243.4 kB / 349.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.0203, allocations: 0.5262 MB / 349.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.0203, allocations: 0 / 349.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00142/0.02172, allocations: 0.6303 MB / 350.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.02177, allocations: 33.7 kB / 350.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.02178, allocations: 3.984 kB / 350.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008894/0.02267, allocations: 283.3 kB / 350.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.02282, allocations: 59.91 kB / 350.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.02514, allocations: 2.459 MB / 353.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.02535, allocations: 43.67 kB / 353.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.02538, allocations: 16 kB / 353.2 MB, free: 12.25 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.0003062/0.02569, allocations: 227.3 kB / 353.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.02575, allocations: 39.81 kB / 353.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.02663, allocations: 0.5558 MB / 354 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.02663, allocations: 4.109 kB / 354 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02663, allocations: 7.938 kB / 354 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.02664, allocations: 0 / 354 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.02689, allocations: 308.2 kB / 354.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02689, allocations: 0 / 354.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.02694, allocations: 23.98 kB / 354.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/0.02768, allocations: 283.3 kB / 354.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.0277, allocations: 8 kB / 354.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.02973, allocations: 2.44 MB / 357.1 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.02973, allocations: 7.938 kB / 357.1 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.0309, allocations: 0.5654 MB / 357.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.03095, allocations: 31.78 kB / 357.7 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.03098, allocations: 16.05 kB / 357.7 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.03108, allocations: 15.94 kB / 357.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.03117, allocations: 27.94 kB / 357.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.03119, allocations: 11.98 kB / 357.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.03132, allocations: 205.1 kB / 357.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03132, allocations: 0 / 357.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.03171, allocations: 131.9 kB / 358.1 MB, free: 7.125 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.0001818/0.03189, allocations: 122.2 kB / 358.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008665/0.03276, allocations: 0.6798 MB / 358.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03276, allocations: 0 / 358.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.03331, allocations: 0.4948 MB / 359.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.03349, allocations: 28.48 kB / 359.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009798/0.03447, allocations: 0.5594 MB / 359.9 MB, free: 5.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.03453, allocations: 97.62 kB / 360 MB, free: 5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.0346, allocations: 34.36 kB / 360.1 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.03464, allocations: 20.5 kB / 360.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03464, allocations: 3.938 kB / 360.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of Templates: time 0.008458/0.0431, allocations: 7.021 MB / 367.1 MB, free: 13.96 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.088155261008069]