Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 106.2 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.001565/0.001566, allocations: 194.9 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.438/1.438, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.07702/0.07702, allocations: 8.096 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.89 kB / 363.2 MB, free: 7.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2808, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002497/0.2833, allocations: 1.834 MB / 416.5 MB, free: 23.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.2849, allocations: 1.559 MB / 418.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.285, allocations: 4 kB / 418.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.2854, allocations: 139.3 kB / 418.2 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.2857, allocations: 139.1 kB / 418.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.287, allocations: 0.8002 MB / 419.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.2874, allocations: 306.5 kB / 419.4 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.2876, allocations: 113.7 kB / 419.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.2877, allocations: 127.5 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.2878, allocations: 155.4 kB / 419.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.2879, allocations: 24 kB / 419.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.2882, allocations: 175.8 kB / 420 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.2882, allocations: 63.75 kB / 420.1 MB, free: 20 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.2883, allocations: 143.3 kB / 420.2 MB, free: 19.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2887, allocations: 432.5 kB / 420.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2888, allocations: 3.938 kB / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2888, allocations: 0 / 420.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2888, allocations: 0 / 420.7 MB, free: 19.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002716/0.2915, allocations: 0.9515 MB / 421.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2915, allocations: 11.89 kB / 421.6 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.2916, allocations: 36.56 kB / 421.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2919, allocations: 268.5 kB / 421.9 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.2919, allocations: 20.81 kB / 421.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.292, allocations: 24.38 kB / 422 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.2924, allocations: 343.8 kB / 422.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2925, allocations: 192 / 422.3 MB, free: 17.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.2925, allocations: 15.94 kB / 422.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2925, allocations: 4 kB / 422.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.2929, allocations: 333.6 kB / 422.6 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.2943, allocations: 1.021 MB / 423.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2948, allocations: 402.4 kB / 424.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2951, allocations: 232.8 kB / 424.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/0.2952, allocations: 7.984 kB / 424.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2952, allocations: 38.5 kB / 424.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.2952, allocations: 0 / 424.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002165/0.2974, allocations: 1.058 MB / 425.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2974, allocations: 55.41 kB / 425.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2976, allocations: 227 kB / 425.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2976, allocations: 33.7 kB / 425.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.2977, allocations: 144.6 kB / 425.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.2978, allocations: 122.2 kB / 426 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2979, allocations: 82.11 kB / 426 MB, free: 13.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.298, allocations: 342.8 kB / 426.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.2983, allocations: 236.7 kB / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.2986, allocations: 239.9 kB / 426.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.2992, allocations: 0.5093 MB / 427.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2992, allocations: 0 / 427.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00115/0.3003, allocations: 0.7208 MB / 428.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3004, allocations: 8 kB / 428.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3004, allocations: 0 / 428.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.301, allocations: 154.5 kB / 428.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3014, allocations: 83.89 kB / 428.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.3045, allocations: 4.614 MB / 432.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3048, allocations: 39.56 kB / 433 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3048, allocations: 16 kB / 433 MB, free: 6.371 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.305, allocations: 149.9 kB / 433.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.305, allocations: 23.72 kB / 433.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.3061, allocations: 0.5846 MB / 433.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3061, allocations: 8 kB / 433.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3061, allocations: 7.984 kB / 433.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3061, allocations: 3.984 kB / 433.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.3065, allocations: 460.9 kB / 434.2 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3065, allocations: 3.938 kB / 434.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3067, allocations: 55.91 kB / 434.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/0.3073, allocations: 150.5 kB / 434.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3073, allocations: 7.938 kB / 434.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.3101, allocations: 4.595 MB / 439 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3101, allocations: 0 / 439 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3113, allocations: 0.6389 MB / 439.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.3114, allocations: 100.8 kB / 439.7 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.3114, allocations: 11.98 kB / 439.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.3116, allocations: 4 kB / 439.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.3117, allocations: 23.97 kB / 439.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.3117, allocations: 16 kB / 439.8 MB, free: 14.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.3119, allocations: 160.1 kB / 440 MB, free: 14.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3119, allocations: 0 / 440 MB, free: 14.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.3125, allocations: 123.9 kB / 440.1 MB, free: 14.71 MB / 318.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0002561/0.3127, allocations: 127.1 kB / 440.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.3144, allocations: 0.8849 MB / 441.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3145, allocations: 0 / 441.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3155, allocations: 0.582 MB / 441.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3158, allocations: 20.67 kB / 441.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.317, allocations: 0.5615 MB / 442.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3173, allocations: 0.7572 MB / 443 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.3175, allocations: 42.19 kB / 443 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.3176, allocations: 23.44 kB / 443.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3176, allocations: 0 / 443.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of Templates: time 0.009439/0.327, allocations: 4.721 MB / 447.8 MB, free: 6.875 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)