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.001141/0.001141, allocations: 105.3 kB / 16.57 MB, free: 6.73 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.001221/0.001221, allocations: 193.9 kB / 17.48 MB, free: 6.027 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.376/1.376, allocations: 222.9 MB / 241.2 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04795/0.04795, allocations: 8.094 MB / 299.4 MB, free: 6.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.001271, allocations: 67.91 kB / 361.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2134, allocations: 51.51 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002164/0.2156, allocations: 1.445 MB / 414.6 MB, free: 24.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.217, allocations: 1.501 MB / 416.2 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.217, allocations: 4 kB / 416.2 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.2173, allocations: 103.6 kB / 416.3 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.2175, allocations: 83.52 kB / 416.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2187, allocations: 0.8709 MB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.2189, allocations: 183.1 kB / 417.4 MB, free: 21.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.219, allocations: 57.64 kB / 417.4 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.877e-05/0.2191, allocations: 71.7 kB / 417.5 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2192, allocations: 103.5 kB / 417.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2192, allocations: 12 kB / 417.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.2195, allocations: 195.8 kB / 417.8 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.2195, allocations: 35.8 kB / 417.9 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.2196, allocations: 91.52 kB / 417.9 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2198, allocations: 245.5 kB / 418.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2198, allocations: 4 kB / 418.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2199, allocations: 0 / 418.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2199, allocations: 3.938 kB / 418.2 MB, free: 20.84 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.001592/0.2215, allocations: 0.6746 MB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2215, allocations: 19.91 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.028e-05/0.2216, allocations: 20.66 kB / 418.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.2218, allocations: 236 kB / 419.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2218, allocations: 16.66 kB / 419.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.2219, allocations: 16.38 kB / 419.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2222, allocations: 204.4 kB / 419.4 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2222, allocations: 192 / 419.4 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2222, allocations: 11.94 kB / 419.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2222, allocations: 4 kB / 419.4 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.2225, allocations: 204.8 kB / 419.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008904/0.2234, allocations: 0.8539 MB / 420.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.224, allocations: 371.5 kB / 420.8 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.2241, allocations: 140.8 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.2242, allocations: 11.98 kB / 420.9 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.2242, allocations: 34.56 kB / 421 MB, free: 17.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.2242, allocations: 0 / 421 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001911/0.2261, allocations: 0.727 MB / 421.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.2262, allocations: 55.41 kB / 421.8 MB, free: 17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2263, allocations: 178.9 kB / 421.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2263, allocations: 33.7 kB / 422 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.2264, allocations: 120.3 kB / 422.1 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.2264, allocations: 78.84 kB / 422.2 MB, free: 16.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.2265, allocations: 53.69 kB / 422.2 MB, free: 16.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.2266, allocations: 330.8 kB / 422.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2267, allocations: 123.9 kB / 422.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2269, allocations: 124.5 kB / 422.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2272, allocations: 269.3 kB / 423 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2272, allocations: 4 kB / 423 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008705/0.2281, allocations: 481.9 kB / 423.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2281, allocations: 11.88 kB / 423.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2281, allocations: 3.984 kB / 423.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.2289, allocations: 188.6 kB / 423.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.229, allocations: 35.98 kB / 423.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.2313, allocations: 2.178 MB / 425.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.2314, allocations: 23.69 kB / 426 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2314, allocations: 8 kB / 426 MB, free: 12.61 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.396e-05/0.2315, allocations: 145.7 kB / 426.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.2316, allocations: 15.81 kB / 426.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008873/0.2325, allocations: 465.4 kB / 426.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2325, allocations: 8.078 kB / 426.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2325, allocations: 0 / 426.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2325, allocations: 4 kB / 426.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2336, allocations: 0.8501 MB / 427.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2337, allocations: 4 kB / 427.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.2337, allocations: 27.92 kB / 427.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006274/0.2344, allocations: 180.9 kB / 427.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2344, allocations: 4 kB / 427.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.2364, allocations: 2.155 MB / 429.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2364, allocations: 0 / 429.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.2372, allocations: 0.5231 MB / 430.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.2373, allocations: 96.84 kB / 430.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2373, allocations: 8 kB / 430.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2375, allocations: 8 kB / 430.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2376, allocations: 27.84 kB / 430.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2376, allocations: 12 kB / 430.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.2377, allocations: 140.2 kB / 430.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2377, allocations: 0 / 430.6 MB, free: 7.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.2381, allocations: 76 kB / 430.7 MB, free: 7.641 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.0002076/0.2384, allocations: 123.4 kB / 430.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.2393, allocations: 486.3 kB / 431.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.2393, allocations: 0 / 431.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.2398, allocations: 346.4 kB / 431.6 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.2401, allocations: 20.22 kB / 431.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.2408, allocations: 0.5058 MB / 432.1 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2409, allocations: 0.7292 MB / 432.9 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.241, allocations: 31.42 kB / 432.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.241, allocations: 3.938 kB / 432.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of Templates: time 0.004341/0.2453, allocations: 3.601 MB / 436.5 MB, free: 1.723 MB / 302.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)