Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 102.7 kB / 16.31 MB, free: 5.879 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.001085/0.001085, allocations: 186.7 kB / 17.24 MB, free: 5.539 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04926/0.04926, allocations: 8.097 MB / 299.2 MB, free: 6.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 361.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 51.53 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002389/0.2834, allocations: 0.8561 MB / 414.1 MB, free: 24.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2847, allocations: 1.289 MB / 415.4 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.2848, allocations: 0 / 415.4 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.285, allocations: 63.7 kB / 415.5 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.2852, allocations: 43.75 kB / 415.5 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.2858, allocations: 358.3 kB / 415.8 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.286, allocations: 67.67 kB / 415.9 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2861, allocations: 27.97 kB / 415.9 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.2861, allocations: 23.88 kB / 416 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.2863, allocations: 51.83 kB / 416 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.2863, allocations: 8 kB / 416 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2865, allocations: 99.88 kB / 416.1 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2865, allocations: 15.92 kB / 416.1 MB, free: 22.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.2866, allocations: 35.81 kB / 416.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.2868, allocations: 153.5 kB / 416.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2868, allocations: 0 / 416.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2869, allocations: 0 / 416.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.2869, allocations: 0 / 416.3 MB, free: 22.51 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008551/0.2877, allocations: 439.2 kB / 416.7 MB, free: 22.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2878, allocations: 15.91 kB / 416.8 MB, free: 22.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2878, allocations: 8.844 kB / 416.8 MB, free: 22.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.288, allocations: 184.2 kB / 417 MB, free: 21.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.288, allocations: 384 / 417 MB, free: 21.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.288, allocations: 12.36 kB / 417 MB, free: 21.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2882, allocations: 98.22 kB / 417.1 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2882, allocations: 4.188 kB / 417.1 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2882, allocations: 3.938 kB / 417.1 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2882, allocations: 0 / 417.1 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.2883, allocations: 75.91 kB / 417.1 MB, free: 21.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.2889, allocations: 380.6 kB / 417.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.2892, allocations: 114.6 kB / 417.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.2892, allocations: 36.84 kB / 417.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.2893, allocations: 4 kB / 417.7 MB, free: 21.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2893, allocations: 34.56 kB / 417.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2893, allocations: 0 / 417.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005611/0.2899, allocations: 235.5 kB / 417.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2899, allocations: 51.41 kB / 418 MB, free: 20.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.29, allocations: 145.9 kB / 418.1 MB, free: 20.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.29, allocations: 25.7 kB / 418.1 MB, free: 20.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.2901, allocations: 107.9 kB / 418.3 MB, free: 20.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.2901, allocations: 27.78 kB / 418.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.2902, allocations: 25.72 kB / 418.3 MB, free: 20.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.2902, allocations: 318.8 kB / 418.6 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.2903, allocations: 35.98 kB / 418.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.2903, allocations: 31.98 kB / 418.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.2904, allocations: 72.8 kB / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2904, allocations: 0 / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.2907, allocations: 142.4 kB / 418.9 MB, free: 19.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2907, allocations: 7.984 kB / 418.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2907, allocations: 3.938 kB / 418.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002526/0.291, allocations: 36.84 kB / 418.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.291, allocations: 15.98 kB / 419 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/0.2919, allocations: 1.437 MB / 420.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.292, allocations: 4.031 kB / 420.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.292, allocations: 4 kB / 420.4 MB, free: 18.02 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 (9): * Single equations (assignments): 8 * 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 6.869e-05/0.2921, allocations: 133.8 kB / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2921, allocations: 11.89 kB / 420.5 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.2924, allocations: 126.8 kB / 420.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2924, allocations: 288 / 420.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2924, allocations: 4 kB / 420.7 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2924, allocations: 3.938 kB / 420.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2925, allocations: 205.5 kB / 420.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2926, allocations: 0 / 420.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.2926, allocations: 12 kB / 420.9 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.2927, allocations: 36.83 kB / 420.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2927, allocations: 0 / 420.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007204/0.2935, allocations: 1.437 MB / 422.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2935, allocations: 4 kB / 422.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2937, allocations: 216.4 kB / 422.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2937, allocations: 85.02 kB / 422.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2938, allocations: 0 / 422.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2939, allocations: 7.984 kB / 422.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.2939, allocations: 4 kB / 422.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2939, allocations: 8 kB / 422.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.294, allocations: 107.2 kB / 422.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.294, allocations: 4 kB / 422.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.2943, allocations: 28 kB / 422.8 MB, free: 15.36 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 (6): * Single equations (assignments): 5 * 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.0001519/0.2944, allocations: 99.25 kB / 422.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.2948, allocations: 210.6 kB / 423.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2948, allocations: 4 kB / 423.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.295, allocations: 155.1 kB / 423.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2954, allocations: 11.94 kB / 423.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.2957, allocations: 228.3 kB / 423.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2959, allocations: 0.6963 MB / 424.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.2959, allocations: 8.656 kB / 424.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.296, allocations: 11.44 kB / 424.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.296, allocations: 4 kB / 424.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Templates: time 0.003953/0.2999, allocations: 1.503 MB / 425.7 MB, free: 12.36 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)