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.001023/0.001023, allocations: 112.4 kB / 17.08 MB, free: 6.008 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.001081/0.001081, allocations: 191 kB / 18.02 MB, free: 5.086 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04822/0.04822, allocations: 8.085 MB / 300 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2058, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003122/0.209, allocations: 2.833 MB / 417.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.2109, allocations: 1.652 MB / 419.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.211, allocations: 8 kB / 419.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.2114, allocations: 179 kB / 419.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.2118, allocations: 230.5 kB / 419.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.2135, allocations: 1.264 MB / 420.9 MB, free: 19.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.2139, allocations: 489.7 kB / 421.3 MB, free: 18.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2141, allocations: 166.9 kB / 421.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2142, allocations: 207.1 kB / 421.7 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.2145, allocations: 266.9 kB / 422 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2145, allocations: 40 kB / 422 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.2149, allocations: 279.8 kB / 422.3 MB, free: 17.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.215, allocations: 95.62 kB / 422.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2151, allocations: 242.8 kB / 422.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.2156, allocations: 0.6658 MB / 423.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2157, allocations: 4 kB / 423.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2157, allocations: 0 / 423.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2157, allocations: 0 / 423.3 MB, free: 16.83 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.004787/0.2205, allocations: 1.516 MB / 424.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2205, allocations: 12.03 kB / 424.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.2206, allocations: 52.38 kB / 424.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.221, allocations: 343.5 kB / 425.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.221, allocations: 33.38 kB / 425.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2211, allocations: 40.38 kB / 425.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.2218, allocations: 0.5776 MB / 425.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2218, allocations: 192 / 425.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.2218, allocations: 19.94 kB / 425.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2218, allocations: 12 kB / 425.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006043/0.2224, allocations: 0.5349 MB / 426.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2246, allocations: 2.265 MB / 428.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.2255, allocations: 0.8414 MB / 429.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.2259, allocations: 326 kB / 429.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.768e-05/0.226, allocations: 28.33 kB / 429.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.226, allocations: 42.94 kB / 429.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.864e-06/0.226, allocations: 0 / 429.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.006225/0.2322, allocations: 2.038 MB / 431.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.2323, allocations: 107.2 kB / 432 MB, free: 7.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2325, allocations: 270.9 kB / 432.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2326, allocations: 37.7 kB / 432.3 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.2326, allocations: 189.2 kB / 432.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.2327, allocations: 181.3 kB / 432.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.2329, allocations: 118.3 kB / 432.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.233, allocations: 346.8 kB / 433.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.2334, allocations: 325.2 kB / 433.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.2339, allocations: 377.7 kB / 433.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009398/0.2349, allocations: 0.7095 MB / 434.6 MB, free: 5.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2349, allocations: 8.016 kB / 434.6 MB, free: 5.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002985/0.2379, allocations: 1.344 MB / 435.9 MB, free: 3.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2379, allocations: 6.344 kB / 435.9 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2379, allocations: 4 kB / 435.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003141/0.2411, allocations: 0.7773 MB / 436.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.2415, allocations: 99.88 kB / 436.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006232/0.2477, allocations: 4.169 MB / 441 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.2482, allocations: 67.31 kB / 441 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.2483, allocations: 19.98 kB / 441 MB, free: 14.41 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.0002222/0.2485, allocations: 169.7 kB / 441.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.2486, allocations: 43.47 kB / 441.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/0.252, allocations: 1.307 MB / 442.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.252, allocations: 8 kB / 442.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.252, allocations: 0 / 442.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.252, allocations: 3.984 kB / 442.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.256, allocations: 1.985 MB / 444.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2561, allocations: 3.938 kB / 444.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.2563, allocations: 79.91 kB / 444.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003259/0.2596, allocations: 0.7446 MB / 445.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.2597, allocations: 12 kB / 445.4 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.2664, allocations: 4.128 MB / 449.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2665, allocations: 0 / 449.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.27, allocations: 1.324 MB / 450.8 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.2701, allocations: 124.4 kB / 451 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.2702, allocations: 12 kB / 451 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.2706, allocations: 27.98 kB / 451 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.2707, allocations: 40.5 kB / 451 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.2708, allocations: 20 kB / 451.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.271, allocations: 190 kB / 451.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.271, allocations: 4 kB / 451.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.2716, allocations: 199.8 kB / 451.5 MB, free: 3.734 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.0001958/0.2718, allocations: 127.2 kB / 451.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.2743, allocations: 1.131 MB / 452.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2743, allocations: 0 / 452.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.2761, allocations: 0.7244 MB / 453.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.2765, allocations: 32.89 kB / 453.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.2779, allocations: 0.8584 MB / 454.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2783, allocations: 0.8335 MB / 455.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.2785, allocations: 59.22 kB / 455.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.2786, allocations: 39.44 kB / 455.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2786, allocations: 4 kB / 455.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Templates: time 0.01669/0.2953, allocations: 12.13 MB / 467.4 MB, free: 3.773 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)