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.0007775/0.0007776, allocations: 92.78 kB / 16.71 MB, free: 6.637 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.0008118/0.0008118, allocations: 175.3 kB / 17.62 MB, free: 6.16 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.314/1.314, allocations: 223.3 MB / 241.7 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04117/0.04117, allocations: 8.102 MB / 300.9 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003052, allocations: 12 kB / 364.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 52.51 MB / 416.7 MB, free: 24.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.002123/0.2224, allocations: 2.462 MB / 419.1 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2243, allocations: 1.629 MB / 420.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2245, allocations: 8 kB / 420.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.2248, allocations: 159.3 kB / 420.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.2253, allocations: 206.9 kB / 421.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.227, allocations: 1.191 MB / 422.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.2275, allocations: 469.7 kB / 422.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.2277, allocations: 139.4 kB / 422.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2279, allocations: 179.3 kB / 423.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2282, allocations: 242.9 kB / 423.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.2282, allocations: 20 kB / 423.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.2287, allocations: 259.7 kB / 423.6 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.2288, allocations: 75.67 kB / 423.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2289, allocations: 248.5 kB / 423.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.2293, allocations: 494.6 kB / 424.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2293, allocations: 0 / 424.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2294, allocations: 3.938 kB / 424.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2294, allocations: 0 / 424.4 MB, free: 17.07 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.005179/0.2346, allocations: 1.439 MB / 425.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.2346, allocations: 11.97 kB / 425.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.2347, allocations: 52.38 kB / 425.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.2351, allocations: 351.4 kB / 426.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2351, allocations: 33.38 kB / 426.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.2352, allocations: 44.38 kB / 426.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.236, allocations: 0.5776 MB / 426.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.236, allocations: 4.125 kB / 426.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.236, allocations: 19.94 kB / 426.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2361, allocations: 8 kB / 426.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006876/0.2367, allocations: 0.531 MB / 427.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.2392, allocations: 2.284 MB / 429.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009701/0.2402, allocations: 0.842 MB / 430.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.2406, allocations: 326.1 kB / 430.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.155e-05/0.2406, allocations: 12.42 kB / 430.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2407, allocations: 46.94 kB / 431 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.284e-06/0.2407, allocations: 0 / 431 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006968/0.2476, allocations: 2.022 MB / 433 MB, free: 8.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2477, allocations: 119.2 kB / 433.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.2481, allocations: 266.9 kB / 433.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/0.2481, allocations: 41.7 kB / 433.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.2482, allocations: 185.3 kB / 433.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2484, allocations: 177.3 kB / 433.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.2485, allocations: 65.67 kB / 433.8 MB, free: 7.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.2485, allocations: 350.7 kB / 434.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.249, allocations: 317.2 kB / 434.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.2494, allocations: 385.7 kB / 434.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.2503, allocations: 0.7095 MB / 435.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2503, allocations: 0 / 435.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003483/0.2538, allocations: 1.352 MB / 436.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2539, allocations: 4 kB / 436.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2539, allocations: 4 kB / 436.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/0.2575, allocations: 0.7887 MB / 437.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.2579, allocations: 103.9 kB / 437.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/0.2642, allocations: 3.825 MB / 441.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.2648, allocations: 63.36 kB / 441.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.2648, allocations: 20 kB / 441.7 MB, free: 15.11 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.0002376/0.2651, allocations: 178.5 kB / 441.9 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.2652, allocations: 35.62 kB / 441.9 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.269, allocations: 1.311 MB / 443.2 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.269, allocations: 8 kB / 443.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2691, allocations: 3.938 kB / 443.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.2691, allocations: 3.984 kB / 443.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/0.2735, allocations: 1.981 MB / 445.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2736, allocations: 0 / 445.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.2739, allocations: 75.91 kB / 445.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/0.2775, allocations: 0.7607 MB / 446.1 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.2777, allocations: 15.94 kB / 446.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/0.2845, allocations: 3.776 MB / 449.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2845, allocations: 4 kB / 449.9 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.2882, allocations: 1.308 MB / 451.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.2883, allocations: 124.5 kB / 451.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.2884, allocations: 15.94 kB / 451.3 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2888, allocations: 33.48 kB / 451.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.289, allocations: 44.44 kB / 451.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.289, allocations: 16 kB / 451.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2892, allocations: 194 kB / 451.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.2892, allocations: 0 / 451.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006806/0.2899, allocations: 207.7 kB / 451.8 MB, free: 4.773 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.0002327/0.2901, allocations: 127.2 kB / 451.9 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.2928, allocations: 1.108 MB / 453 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.2928, allocations: 4 kB / 453 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.2946, allocations: 0.6929 MB / 453.7 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.2951, allocations: 48.81 kB / 453.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2966, allocations: 1.087 MB / 454.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.297, allocations: 0.8182 MB / 455.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2971, allocations: 51.36 kB / 455.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2972, allocations: 4 kB / 455.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of Templates: time 0.01176/0.3089, allocations: 8.652 MB / 464.4 MB, free: 8.113 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)