Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 104.4 kB / 17.07 MB, free: 5.68 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.001188/0.001188, allocations: 196 kB / 18.01 MB, free: 5.02 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04824/0.04824, allocations: 8.104 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 363.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2124, allocations: 51.51 MB / 414.7 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002237/0.2147, allocations: 1.387 MB / 416.1 MB, free: 24.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2162, allocations: 1.512 MB / 417.6 MB, free: 22.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.2162, allocations: 4 kB / 417.6 MB, free: 22.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.2166, allocations: 115.4 kB / 417.7 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.2168, allocations: 91.38 kB / 417.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.218, allocations: 0.9062 MB / 418.7 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.2182, allocations: 191.1 kB / 418.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2184, allocations: 65.66 kB / 419 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.2184, allocations: 83.64 kB / 419 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2186, allocations: 99.61 kB / 419.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.2186, allocations: 16 kB / 419.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.2189, allocations: 203.8 kB / 419.3 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.2189, allocations: 39.83 kB / 419.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.219, allocations: 91.48 kB / 419.5 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2193, allocations: 344.8 kB / 419.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2193, allocations: 0 / 419.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2194, allocations: 8 kB / 419.8 MB, free: 20.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2194, allocations: 0 / 419.8 MB, free: 20.27 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001573/0.2209, allocations: 0.6707 MB / 420.5 MB, free: 19.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.221, allocations: 11.89 kB / 420.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.221, allocations: 24.66 kB / 420.5 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.2213, allocations: 232 kB / 420.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2213, allocations: 12.66 kB / 420.8 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.2213, allocations: 12.38 kB / 420.8 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2216, allocations: 220.3 kB / 421 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2216, allocations: 4.188 kB / 421 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.2217, allocations: 11.92 kB / 421 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2217, allocations: 4 kB / 421 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.2219, allocations: 204.8 kB / 421.2 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.2228, allocations: 0.85 MB / 422.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.2234, allocations: 372.2 kB / 422.4 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.2236, allocations: 136.8 kB / 422.6 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.2236, allocations: 11.98 kB / 422.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.2237, allocations: 30.56 kB / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.2237, allocations: 3.938 kB / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001874/0.2256, allocations: 0.7319 MB / 423.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.2256, allocations: 55.34 kB / 423.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2257, allocations: 178.4 kB / 423.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2258, allocations: 33.7 kB / 423.6 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2258, allocations: 120.3 kB / 423.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.2259, allocations: 82.84 kB / 423.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2259, allocations: 45.7 kB / 423.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.226, allocations: 338.8 kB / 424.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2262, allocations: 123.9 kB / 424.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2263, allocations: 131.9 kB / 424.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.2266, allocations: 264.8 kB / 424.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2266, allocations: 0 / 424.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008593/0.2275, allocations: 490.5 kB / 425.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2275, allocations: 11.94 kB / 425.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2275, allocations: 0 / 425.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007056/0.2282, allocations: 180.6 kB / 425.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2284, allocations: 35.98 kB / 425.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.2309, allocations: 2.358 MB / 427.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.2311, allocations: 19.78 kB / 427.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2311, allocations: 8 kB / 427.8 MB, free: 11.88 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.2312, allocations: 137.7 kB / 427.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.2313, allocations: 19.81 kB / 427.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.2322, allocations: 465.3 kB / 428.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2322, allocations: 4.094 kB / 428.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2322, allocations: 7.969 kB / 428.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2322, allocations: 0 / 428.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.2333, allocations: 0.8584 MB / 429.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2333, allocations: 0 / 429.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.2334, allocations: 27.92 kB / 429.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006104/0.234, allocations: 176.6 kB / 429.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.2341, allocations: 7.984 kB / 429.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.2362, allocations: 2.324 MB / 431.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2362, allocations: 0 / 431.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.237, allocations: 0.524 MB / 432.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.2371, allocations: 92.86 kB / 432.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2371, allocations: 12 kB / 432.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2373, allocations: 15.92 kB / 432.4 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.2374, allocations: 11.98 kB / 432.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2374, allocations: 15.98 kB / 432.4 MB, free: 6.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2375, allocations: 132.8 kB / 432.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2375, allocations: 0 / 432.6 MB, free: 6.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.2379, allocations: 87.91 kB / 432.7 MB, free: 6.723 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.238, allocations: 115.2 kB / 432.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008824/0.2389, allocations: 0.4943 MB / 433.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2389, allocations: 0 / 433.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.2395, allocations: 342.5 kB / 433.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2398, allocations: 33.73 kB / 433.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.2405, allocations: 413.3 kB / 434 MB, free: 5.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2407, allocations: 0.7327 MB / 434.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.41e-05/0.2407, allocations: 17.53 kB / 434.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.2408, allocations: 27.42 kB / 434.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2408, allocations: 0 / 434.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of Templates: time 0.007293/0.2481, allocations: 4.772 MB / 439.6 MB, free: 15.73 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)