Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 104.9 kB / 16.31 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 190.3 kB / 17.24 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05235/0.05235, allocations: 8.092 MB / 299.2 MB, free: 6.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 361.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2767, allocations: 51.51 MB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002292/0.279, allocations: 1.215 MB / 414.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2805, allocations: 1.493 MB / 415.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.2806, allocations: 0 / 415.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.2809, allocations: 111.4 kB / 416.1 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.2812, allocations: 75.53 kB / 416.1 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2824, allocations: 0.8867 MB / 417 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.2826, allocations: 155.3 kB / 417.2 MB, free: 21.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2828, allocations: 49.52 kB / 417.2 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.2828, allocations: 59.73 kB / 417.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.283, allocations: 87.67 kB / 417.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.283, allocations: 12 kB / 417.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.2833, allocations: 203.8 kB / 417.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.2833, allocations: 31.8 kB / 417.6 MB, free: 21.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.2834, allocations: 87.58 kB / 417.7 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2838, allocations: 305.1 kB / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2838, allocations: 0 / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2838, allocations: 0 / 418 MB, free: 20.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.2838, allocations: 0 / 418 MB, free: 20.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00172/0.2855, allocations: 0.6279 MB / 418.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2856, allocations: 8.031 kB / 418.6 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.2857, allocations: 16.75 kB / 418.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.286, allocations: 232.5 kB / 418.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.286, allocations: 8.609 kB / 418.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.286, allocations: 12.38 kB / 418.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.2864, allocations: 181.2 kB / 419.1 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2864, allocations: 3.938 kB / 419.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.2864, allocations: 4 kB / 419.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2864, allocations: 7.984 kB / 419.1 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.2867, allocations: 160.6 kB / 419.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.2877, allocations: 0.6953 MB / 419.9 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.2882, allocations: 214.4 kB / 420.1 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2884, allocations: 88.84 kB / 420.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.2884, allocations: 4 kB / 420.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2885, allocations: 38.56 kB / 420.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2885, allocations: 0 / 420.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001691/0.2902, allocations: 0.5734 MB / 420.8 MB, free: 17.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2902, allocations: 55.41 kB / 420.9 MB, free: 17.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2904, allocations: 167.4 kB / 421.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2904, allocations: 29.7 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.2905, allocations: 116.3 kB / 421.2 MB, free: 17.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.2905, allocations: 51.2 kB / 421.3 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.2906, allocations: 45.69 kB / 421.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.2907, allocations: 322.8 kB / 421.6 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2908, allocations: 99.97 kB / 421.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.2909, allocations: 95.83 kB / 421.8 MB, free: 16.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2911, allocations: 204.8 kB / 422 MB, free: 16.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2912, allocations: 4 kB / 422 MB, free: 16.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006987/0.2919, allocations: 384.7 kB / 422.4 MB, free: 16.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2919, allocations: 8 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2919, allocations: 7.938 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.2925, allocations: 136.7 kB / 422.5 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2926, allocations: 27.98 kB / 422.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.2949, allocations: 2.045 MB / 424.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.2951, allocations: 15.83 kB / 424.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2951, allocations: 8 kB / 424.6 MB, free: 13.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2952, allocations: 143.1 kB / 424.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.2953, allocations: 15.81 kB / 424.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.296, allocations: 355.5 kB / 425.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.296, allocations: 11.94 kB / 425.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.296, allocations: 0 / 425.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.296, allocations: 0 / 425.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2963, allocations: 301.4 kB / 425.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2963, allocations: 0 / 425.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.2964, allocations: 19.94 kB / 425.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.2969, allocations: 140.7 kB / 425.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2969, allocations: 4 kB / 425.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.2986, allocations: 2.02 MB / 427.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2986, allocations: 0 / 427.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.2993, allocations: 433.9 kB / 428 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.2993, allocations: 88.95 kB / 428.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2993, allocations: 4 kB / 428.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.2995, allocations: 11.98 kB / 428.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.2995, allocations: 15.98 kB / 428.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.2996, allocations: 4 kB / 428.2 MB, free: 10 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.2997, allocations: 128.8 kB / 428.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2997, allocations: 0 / 428.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.3, allocations: 71.83 kB / 428.4 MB, free: 9.809 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.3002, allocations: 111.2 kB / 428.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.3009, allocations: 382.5 kB / 428.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3009, allocations: 0 / 428.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.3013, allocations: 266.6 kB / 429.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3016, allocations: 19.17 kB / 429.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.3022, allocations: 369.6 kB / 429.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.3023, allocations: 0.7203 MB / 430.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.48e-05/0.3024, allocations: 21.41 kB / 430.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.3024, allocations: 19.42 kB / 430.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3024, allocations: 0 / 430.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of Templates: time 0.006628/0.3091, allocations: 4.019 MB / 434.3 MB, free: 3.84 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)