Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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-master/package.mo", uses=false) 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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 103.5 kB / 17.07 MB, free: 5.68 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.001128/0.001128, allocations: 196 kB / 18.01 MB, free: 5.02 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04761/0.04761, allocations: 8.097 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 363.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2799, allocations: 51.52 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002343/0.2823, allocations: 1.154 MB / 415.8 MB, free: 24.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2839, allocations: 1.442 MB / 417.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.284, allocations: 8 kB / 417.3 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.2844, allocations: 103.5 kB / 417.4 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2846, allocations: 71.53 kB / 417.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.2858, allocations: 0.7459 MB / 418.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.2861, allocations: 143.4 kB / 418.3 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2863, allocations: 45.09 kB / 418.4 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.2864, allocations: 59.72 kB / 418.4 MB, free: 21.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.2865, allocations: 67.75 kB / 418.5 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2865, allocations: 12 kB / 418.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.2869, allocations: 159.8 kB / 418.7 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.2869, allocations: 31.84 kB / 418.7 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.287, allocations: 67.67 kB / 418.8 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2873, allocations: 265 kB / 419 MB, free: 21.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2873, allocations: 0 / 419 MB, free: 21.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2874, allocations: 0 / 419 MB, free: 21.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.2874, allocations: 4 kB / 419 MB, free: 21.08 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.001432/0.2888, allocations: 0.5811 MB / 419.6 MB, free: 20.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.2889, allocations: 15.89 kB / 419.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.2889, allocations: 16.73 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2892, allocations: 219.3 kB / 419.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2892, allocations: 8.609 kB / 419.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.2892, allocations: 12.38 kB / 419.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2895, allocations: 173.7 kB / 420.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2895, allocations: 192 / 420.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.2896, allocations: 7.938 kB / 420.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2896, allocations: 4 kB / 420.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.2898, allocations: 148.6 kB / 420.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008866/0.2907, allocations: 0.5636 MB / 420.8 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.291, allocations: 158.5 kB / 420.9 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.2911, allocations: 68.84 kB / 421 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.2911, allocations: 4 kB / 421 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2912, allocations: 34.5 kB / 421 MB, free: 18.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2912, allocations: 0 / 421 MB, free: 18.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009998/0.2922, allocations: 391.3 kB / 421.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.2922, allocations: 51.66 kB / 421.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2924, allocations: 168 kB / 421.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2924, allocations: 25.7 kB / 421.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.2925, allocations: 124.1 kB / 421.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.2925, allocations: 51.3 kB / 421.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/0.2926, allocations: 45.69 kB / 421.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.2927, allocations: 326.8 kB / 422.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.2928, allocations: 83.97 kB / 422.3 MB, free: 17.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2929, allocations: 95.56 kB / 422.4 MB, free: 17.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2932, allocations: 196.7 kB / 422.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2932, allocations: 0 / 422.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004647/0.2937, allocations: 307.7 kB / 422.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2937, allocations: 4 kB / 422.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2937, allocations: 0 / 422.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.294, allocations: 52.81 kB / 422.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.2942, allocations: 31.98 kB / 423 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.2955, allocations: 1.547 MB / 424.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2956, allocations: 19.78 kB / 424.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.2956, allocations: 15.92 kB / 424.5 MB, free: 15.2 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.2957, allocations: 125.8 kB / 424.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.2958, allocations: 7.906 kB / 424.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004343/0.2962, allocations: 239.3 kB / 424.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2962, allocations: 3.938 kB / 424.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2963, allocations: 0 / 424.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2963, allocations: 0 / 424.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2965, allocations: 273.4 kB / 425.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2965, allocations: 0 / 425.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.2966, allocations: 15.94 kB / 425.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.2968, allocations: 56.81 kB / 425.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2968, allocations: 0 / 425.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.2978, allocations: 1.535 MB / 426.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2978, allocations: 0 / 426.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.2982, allocations: 319.6 kB / 427.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2983, allocations: 93.11 kB / 427.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2983, allocations: 0 / 427.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2985, allocations: 7.922 kB / 427.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.2985, allocations: 8 kB / 427.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2985, allocations: 4 kB / 427.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.2986, allocations: 134.1 kB / 427.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 427.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.299, allocations: 59.84 kB / 427.4 MB, free: 12.1 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002006/0.2992, allocations: 115.2 kB / 427.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.2998, allocations: 330.5 kB / 427.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2998, allocations: 0 / 427.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.3001, allocations: 198.6 kB / 428 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.3003, allocations: 16 kB / 428 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.301, allocations: 298.2 kB / 428.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.3011, allocations: 0.7084 MB / 429 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.955e-05/0.3012, allocations: 16.62 kB / 429 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3012, allocations: 19.42 kB / 429.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.3012, allocations: 0 / 429.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Templates: time 0.005468/0.3067, allocations: 2.132 MB / 431.2 MB, free: 8.203 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)