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/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.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.001255/0.001255, allocations: 104 kB / 16.31 MB, free: 6.391 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.00139/0.00139, allocations: 189.8 kB / 17.24 MB, free: 5.922 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05826/0.05826, allocations: 8.097 MB / 299.2 MB, free: 6.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 361.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 51.51 MB / 413.2 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002305/0.287, allocations: 1.828 MB / 415.1 MB, free: 23.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2884, allocations: 1.559 MB / 416.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.2885, allocations: 4 kB / 416.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.2888, allocations: 139.2 kB / 416.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.2891, allocations: 135.1 kB / 416.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2902, allocations: 0.7935 MB / 417.7 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.2906, allocations: 298.6 kB / 418 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.2908, allocations: 117.7 kB / 418.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2909, allocations: 119.6 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2911, allocations: 163.3 kB / 418.4 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2911, allocations: 27.94 kB / 418.4 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.2914, allocations: 171.9 kB / 418.6 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.2915, allocations: 67.69 kB / 418.6 MB, free: 20.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2916, allocations: 139.3 kB / 418.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.2921, allocations: 428.8 kB / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2921, allocations: 0 / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2921, allocations: 0 / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.2921, allocations: 4 kB / 419.2 MB, free: 19.77 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.002846/0.2949, allocations: 0.9593 MB / 420.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.295, allocations: 8.031 kB / 420.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.2951, allocations: 32.56 kB / 420.2 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2954, allocations: 267.9 kB / 420.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2954, allocations: 20.81 kB / 420.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.2955, allocations: 24.38 kB / 420.5 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.2959, allocations: 351.7 kB / 420.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.296, allocations: 192 / 420.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.296, allocations: 7.938 kB / 420.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.296, allocations: 8 kB / 420.9 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.2964, allocations: 329.6 kB / 421.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2979, allocations: 1.029 MB / 422.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.2984, allocations: 393.8 kB / 422.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2986, allocations: 228.8 kB / 422.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.2987, allocations: 16 kB / 422.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.2987, allocations: 34.5 kB / 422.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.2987, allocations: 0 / 422.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002202/0.3009, allocations: 1.059 MB / 423.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.301, allocations: 59.39 kB / 424 MB, free: 14.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3012, allocations: 223 kB / 424.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3012, allocations: 33.7 kB / 424.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.3013, allocations: 144.6 kB / 424.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.3013, allocations: 122.2 kB / 424.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3014, allocations: 86.11 kB / 424.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.3015, allocations: 338.8 kB / 424.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.3018, allocations: 232.8 kB / 425.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3021, allocations: 243.9 kB / 425.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.3027, allocations: 0.5015 MB / 425.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3027, allocations: 4 kB / 425.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001124/0.3039, allocations: 0.7208 MB / 426.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3039, allocations: 8 kB / 426.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3039, allocations: 0 / 426.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.3045, allocations: 154.4 kB / 426.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3049, allocations: 83.89 kB / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.3078, allocations: 4.629 MB / 431.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.308, allocations: 35.56 kB / 431.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3081, allocations: 12 kB / 431.5 MB, free: 6.707 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.0001371/0.3082, allocations: 165.7 kB / 431.7 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.3083, allocations: 23.72 kB / 431.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3093, allocations: 0.5848 MB / 432.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3093, allocations: 4 kB / 432.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3093, allocations: 0 / 432.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3094, allocations: 3.984 kB / 432.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.3097, allocations: 468.9 kB / 432.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3097, allocations: 4 kB / 432.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.3099, allocations: 47.91 kB / 432.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.3105, allocations: 162.4 kB / 433 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.3105, allocations: 4 kB / 433 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.3134, allocations: 4.595 MB / 437.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3134, allocations: 0 / 437.6 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3146, allocations: 0.6349 MB / 438.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.3147, allocations: 104.8 kB / 438.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.3147, allocations: 4 kB / 438.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3149, allocations: 14.61 kB / 438.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.315, allocations: 35.89 kB / 438.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3151, allocations: 4 kB / 438.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3152, allocations: 168.1 kB / 438.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3152, allocations: 0 / 438.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.3157, allocations: 119.9 kB / 438.6 MB, free: 15.04 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.0002028/0.3159, allocations: 119.1 kB / 438.8 MB, free: 14.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.3176, allocations: 0.8928 MB / 439.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3176, allocations: 0 / 439.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009689/0.3186, allocations: 0.582 MB / 440.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3189, allocations: 18.7 kB / 440.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3199, allocations: 0.5764 MB / 440.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.3202, allocations: 0.7572 MB / 441.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.3204, allocations: 34.25 kB / 441.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.3205, allocations: 27.44 kB / 441.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3205, allocations: 0 / 441.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of Templates: time 0.00878/0.3293, allocations: 4.725 MB / 446.4 MB, free: 7.184 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)