Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 106.9 kB / 16.69 MB, free: 6.363 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.000997/0.0009971, allocations: 186 kB / 17.61 MB, free: 5.746 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.346/1.346, allocations: 222.9 MB / 241.3 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05261/0.05261, allocations: 8.099 MB / 299.5 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 361.9 MB, free: 8.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2281, allocations: 51.52 MB / 413.4 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003532/0.2317, allocations: 2.854 MB / 416.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2335, allocations: 1.641 MB / 417.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2336, allocations: 8 kB / 417.9 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.234, allocations: 155.3 kB / 418 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.2344, allocations: 206.8 kB / 418.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.236, allocations: 1.179 MB / 419.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.2365, allocations: 481.7 kB / 419.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2367, allocations: 175 kB / 420.1 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2368, allocations: 199.3 kB / 420.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.237, allocations: 266.9 kB / 420.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.2371, allocations: 40 kB / 420.6 MB, free: 18.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003733/0.2375, allocations: 275.7 kB / 420.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.2375, allocations: 95.67 kB / 420.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.2377, allocations: 246.7 kB / 421.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.2381, allocations: 0.4949 MB / 421.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2381, allocations: 4 kB / 421.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2382, allocations: 0 / 421.7 MB, free: 17.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2382, allocations: 0 / 421.7 MB, free: 17.48 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005073/0.2433, allocations: 1.505 MB / 423.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2433, allocations: 16.03 kB / 423.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.2434, allocations: 52.36 kB / 423.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2438, allocations: 347.5 kB / 423.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2438, allocations: 33.38 kB / 423.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.2439, allocations: 40.38 kB / 423.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.2446, allocations: 0.5776 MB / 424.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2447, allocations: 192 / 424.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.2447, allocations: 19.94 kB / 424.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2447, allocations: 12 kB / 424.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.2454, allocations: 0.531 MB / 424.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.2477, allocations: 2.28 MB / 427.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.2487, allocations: 0.842 MB / 427.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.249, allocations: 322.1 kB / 428.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.2491, allocations: 16.38 kB / 428.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2491, allocations: 54.92 kB / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.613e-06/0.2492, allocations: 0 / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006914/0.2561, allocations: 2.034 MB / 430.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.2561, allocations: 111.2 kB / 430.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.2564, allocations: 266.9 kB / 430.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2565, allocations: 41.64 kB / 430.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.2565, allocations: 189.2 kB / 430.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.78e-05/0.2566, allocations: 185.3 kB / 431.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.2568, allocations: 118.3 kB / 431.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.2569, allocations: 342.8 kB / 431.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.2573, allocations: 321.2 kB / 431.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.2577, allocations: 385.7 kB / 432.2 MB, free: 6.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008353/0.2586, allocations: 0.7056 MB / 433 MB, free: 5.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2586, allocations: 4 kB / 433 MB, free: 5.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00335/0.2619, allocations: 1.348 MB / 434.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.262, allocations: 6.344 kB / 434.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.262, allocations: 4 kB / 434.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/0.2655, allocations: 0.7851 MB / 435.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.2659, allocations: 99.89 kB / 435.2 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006735/0.2726, allocations: 4.177 MB / 439.4 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.2731, allocations: 63.36 kB / 439.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/0.2732, allocations: 31.92 kB / 439.5 MB, free: 15.02 MB / 318.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 (61): * Single equations (assignments): 60 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.2734, allocations: 170.5 kB / 439.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2736, allocations: 39.47 kB / 439.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.2774, allocations: 1.311 MB / 441 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2774, allocations: 4 kB / 441 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2774, allocations: 0 / 441 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2774, allocations: 3.984 kB / 441 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.2819, allocations: 1.985 MB / 443 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2819, allocations: 3.938 kB / 443 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.2822, allocations: 75.89 kB / 443.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003601/0.2858, allocations: 0.7539 MB / 443.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.2859, allocations: 12 kB / 443.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/0.2929, allocations: 4.136 MB / 448 MB, free: 6.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2929, allocations: 4.156 kB / 448 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.2965, allocations: 1.311 MB / 449.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2966, allocations: 120.5 kB / 449.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.2967, allocations: 12 kB / 449.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2971, allocations: 39.23 kB / 449.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.2973, allocations: 36.45 kB / 449.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.2973, allocations: 23.98 kB / 449.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2975, allocations: 194 kB / 449.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2975, allocations: 0 / 449.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006406/0.2982, allocations: 195.8 kB / 449.9 MB, free: 4.344 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 (45): * Single equations (assignments): 44 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/0.2984, allocations: 127.1 kB / 450 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002769/0.3012, allocations: 1.15 MB / 451.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3012, allocations: 4 kB / 451.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/0.3031, allocations: 0.7203 MB / 451.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3035, allocations: 38.39 kB / 451.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3052, allocations: 1.077 MB / 453 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3056, allocations: 0.8218 MB / 453.8 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3057, allocations: 47.41 kB / 453.9 MB, free: 292 kB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3057, allocations: 0 / 453.9 MB, free: 292 kB / 318.1 MB Notification: Performance of Templates: time 0.01096/0.3167, allocations: 8.711 MB / 462.6 MB, free: 7.594 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)