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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 111.7 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 186.1 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.2 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05418/0.05418, allocations: 8.234 MB / 312.3 MB, free: 2.051 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001994/0.001994, allocations: 67.89 kB / 435.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2626, allocations: 54.36 MB / 489.5 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.00252/0.2652, allocations: 1.917 MB / 491.4 MB, free: 26.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2668, allocations: 1.601 MB / 493 MB, free: 24.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.267, allocations: 5.094 kB / 493 MB, free: 24.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2673, allocations: 141.8 kB / 493.1 MB, free: 24.76 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.2676, allocations: 151.9 kB / 493.3 MB, free: 24.63 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2689, allocations: 0.8836 MB / 494.2 MB, free: 23.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.2693, allocations: 347.9 kB / 494.5 MB, free: 23.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2694, allocations: 90.31 kB / 494.6 MB, free: 23.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2696, allocations: 143.8 kB / 494.7 MB, free: 23.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2698, allocations: 179.8 kB / 494.9 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.2698, allocations: 33 kB / 495 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.2701, allocations: 222.1 kB / 495.2 MB, free: 23.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.2702, allocations: 76.72 kB / 495.2 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2703, allocations: 172 kB / 495.4 MB, free: 23.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.2708, allocations: 0.5117 MB / 495.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2708, allocations: 0 / 495.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2708, allocations: 0.9375 kB / 495.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2708, allocations: 0 / 495.9 MB, free: 22.87 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.002369/0.2732, allocations: 0.9277 MB / 496.9 MB, free: 22.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2732, allocations: 12.73 kB / 496.9 MB, free: 22.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.2735, allocations: 50.81 kB / 496.9 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.2738, allocations: 312.5 kB / 497.2 MB, free: 21.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2738, allocations: 20.12 kB / 497.2 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.2738, allocations: 25.56 kB / 497.3 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.2743, allocations: 347.8 kB / 497.6 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2743, allocations: 192 / 497.6 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2743, allocations: 11.41 kB / 497.6 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2744, allocations: 5.781 kB / 497.6 MB, free: 21.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.2748, allocations: 324.7 kB / 497.9 MB, free: 21.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2763, allocations: 1.357 MB / 499.3 MB, free: 20.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.277, allocations: 484.3 kB / 499.8 MB, free: 19.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.2773, allocations: 185.1 kB / 499.9 MB, free: 19.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.2781, allocations: 0.8953 MB / 0.4891 GB, free: 18.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/0.2785, allocations: 363.9 kB / 0.4895 GB, free: 18.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.2785, allocations: 5.219 kB / 0.4895 GB, free: 18.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002949/0.2815, allocations: 1.085 MB / 0.4905 GB, free: 17.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2815, allocations: 203.7 kB / 0.4907 GB, free: 17.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2817, allocations: 259.3 kB / 0.491 GB, free: 17.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.2818, allocations: 37.14 kB / 0.491 GB, free: 17.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.2818, allocations: 167.8 kB / 0.4912 GB, free: 17.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.2819, allocations: 104.4 kB / 0.4913 GB, free: 17.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.282, allocations: 86.69 kB / 0.4913 GB, free: 17.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.2821, allocations: 337 kB / 0.4917 GB, free: 16.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2823, allocations: 190 kB / 0.4918 GB, free: 16.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2826, allocations: 267.2 kB / 0.4921 GB, free: 16.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.2871, allocations: 1.414 MB / 0.4935 GB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2871, allocations: 0 / 0.4935 GB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001618/0.2887, allocations: 0.8165 MB / 0.4943 GB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2887, allocations: 35.7 kB / 0.4943 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2887, allocations: 10.7 kB / 0.4943 GB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.29, allocations: 319.3 kB / 0.4946 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2902, allocations: 62.47 kB / 0.4947 GB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.2934, allocations: 2.933 MB / 0.4975 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2938, allocations: 51.7 kB / 0.4976 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.2938, allocations: 16.66 kB / 0.4976 GB, free: 12.42 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.0002416/0.294, allocations: 198.8 kB / 0.4978 GB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.2941, allocations: 30.44 kB / 0.4978 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.2956, allocations: 0.7315 MB / 0.4985 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2956, allocations: 15.06 kB / 0.4986 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2957, allocations: 2.281 kB / 0.4986 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2957, allocations: 3.984 kB / 0.4986 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.296, allocations: 471.8 kB / 0.499 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.296, allocations: 0 / 0.499 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.2961, allocations: 33.02 kB / 0.499 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.2973, allocations: 299.6 kB / 0.4993 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2973, allocations: 15.55 kB / 0.4993 GB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/0.3004, allocations: 2.933 MB / 0.5022 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3004, allocations: 0 / 0.5022 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3019, allocations: 0.7286 MB / 0.5029 GB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.302, allocations: 113.1 kB / 0.503 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.302, allocations: 9.5 kB / 0.503 GB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3022, allocations: 9.5 kB / 0.503 GB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.3023, allocations: 32.33 kB / 0.5031 GB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3023, allocations: 10.88 kB / 0.5031 GB, free: 8.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.3025, allocations: 192.5 kB / 0.5033 GB, free: 7.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3025, allocations: 0 / 0.5033 GB, free: 7.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.303, allocations: 124.3 kB / 0.5034 GB, free: 7.926 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.0001851/0.3032, allocations: 131.4 kB / 0.5035 GB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.3044, allocations: 0.6974 MB / 0.5042 GB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3044, allocations: 0 / 0.5042 GB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.3051, allocations: 481.3 kB / 0.5047 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3054, allocations: 23.16 kB / 0.5047 GB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.3063, allocations: 0.6158 MB / 0.5053 GB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3065, allocations: 0.7728 MB / 0.506 GB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.3066, allocations: 26.48 kB / 0.5061 GB, free: 5.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3066, allocations: 0 / 0.5061 GB, free: 5.824 MB / 366.1 MB Notification: Performance of Templates: time 0.006891/0.3135, allocations: 5.718 MB / 0.5116 GB, free: 0.8906 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: 7.370302906725556] Failed to read output from testmodel.py, exit status != 0: 0.32171588903293014 0.334502805 0.060838174 Calling exit ...