Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009312, 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.000855/0.0008552, 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.336/1.336, allocations: 223.3 MB / 241.7 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04231/0.04231, allocations: 8.099 MB / 300.9 MB, free: 6.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003192, allocations: 11.98 kB / 364.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2103, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001213/0.2116, allocations: 0.93 MB / 417.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.2132, allocations: 1.462 MB / 419 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.2132, allocations: 4 kB / 419 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.2135, allocations: 91.66 kB / 419.1 MB, free: 22.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2137, allocations: 75.59 kB / 419.2 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2149, allocations: 0.8442 MB / 420.1 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.2151, allocations: 151.2 kB / 420.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2152, allocations: 37.53 kB / 420.2 MB, free: 21.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.2152, allocations: 55.78 kB / 420.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2154, allocations: 79.62 kB / 420.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2154, allocations: 8 kB / 420.4 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.2157, allocations: 187.8 kB / 420.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.2157, allocations: 35.78 kB / 420.6 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.2158, allocations: 89.36 kB / 420.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.216, allocations: 221.4 kB / 420.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.216, allocations: 0 / 420.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.216, allocations: 0 / 420.9 MB, free: 20.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.216, allocations: 0 / 420.9 MB, free: 20.59 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00144/0.2175, allocations: 0.6045 MB / 421.5 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2175, allocations: 19.97 kB / 421.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.2176, allocations: 12.84 kB / 421.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2178, allocations: 230 kB / 421.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2178, allocations: 12.61 kB / 421.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2178, allocations: 12.38 kB / 421.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.2181, allocations: 171.6 kB / 422 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2181, allocations: 7.938 kB / 422 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2181, allocations: 4 kB / 422 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2181, allocations: 4 kB / 422 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.2183, allocations: 152.6 kB / 422.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.2192, allocations: 0.7108 MB / 422.8 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.2196, allocations: 210.5 kB / 423 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2198, allocations: 92.83 kB / 423.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.2198, allocations: 7.984 kB / 423.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2198, allocations: 38.56 kB / 423.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2198, allocations: 3.938 kB / 423.2 MB, free: 18.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001606/0.2215, allocations: 0.573 MB / 423.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.2215, allocations: 55.41 kB / 423.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2216, allocations: 161.3 kB / 424 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2217, allocations: 33.7 kB / 424 MB, free: 17.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2217, allocations: 116.2 kB / 424.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.2217, allocations: 59.2 kB / 424.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2218, allocations: 21.72 kB / 424.2 MB, free: 17.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.2218, allocations: 322.8 kB / 424.5 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.222, allocations: 104 kB / 424.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2221, allocations: 91.97 kB / 424.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.2223, allocations: 216.3 kB / 424.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2224, allocations: 0 / 424.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007286/0.2231, allocations: 382 kB / 425.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2231, allocations: 8 kB / 425.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2231, allocations: 3.938 kB / 425.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/0.2238, allocations: 136.7 kB / 425.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2239, allocations: 27.98 kB / 425.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.2258, allocations: 1.885 MB / 427.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.226, allocations: 19.83 kB / 427.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.226, allocations: 4 kB / 427.4 MB, free: 13.73 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2261, allocations: 133.7 kB / 427.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.2262, allocations: 15.81 kB / 427.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.227, allocations: 367.5 kB / 427.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.227, allocations: 4 kB / 427.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.227, allocations: 3.938 kB / 427.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.227, allocations: 0 / 427.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2272, allocations: 301.3 kB / 428.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2273, allocations: 0 / 428.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.2273, allocations: 20 kB / 428.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/0.2279, allocations: 136.7 kB / 428.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2279, allocations: 8 kB / 428.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2296, allocations: 1.863 MB / 430.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2296, allocations: 4 kB / 430.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.2303, allocations: 435.8 kB / 430.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.2303, allocations: 92.92 kB / 430.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.2303, allocations: 7.984 kB / 430.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2305, allocations: 8 kB / 430.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2306, allocations: 15.98 kB / 430.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2306, allocations: 11.92 kB / 430.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.497e-05/0.2307, allocations: 128.8 kB / 430.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2307, allocations: 0 / 430.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00035/0.231, allocations: 71.84 kB / 430.9 MB, free: 9.895 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.2312, allocations: 103.2 kB / 431 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.2319, allocations: 381 kB / 431.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2319, allocations: 0 / 431.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.2323, allocations: 266.5 kB / 431.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2326, allocations: 16 kB / 431.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.2332, allocations: 456.4 kB / 432.1 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.2333, allocations: 0.7206 MB / 432.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.2334, allocations: 23.44 kB / 432.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2334, allocations: 0 / 432.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of Templates: time 0.004332/0.2377, allocations: 3.067 MB / 436 MB, free: 4.801 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)