Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.3 kB / 17.08 MB, free: 5.777 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.001146/0.001146, allocations: 195 kB / 18.02 MB, free: 4.953 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.514/1.514, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04538/0.04538, allocations: 8.085 MB / 300 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 363.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2105, allocations: 51.52 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002979/0.2135, allocations: 1.678 MB / 416.4 MB, free: 23.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2156, allocations: 1.567 MB / 417.9 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2159, allocations: 4 kB / 417.9 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.2165, allocations: 131.3 kB / 418.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005166/0.2171, allocations: 127.1 kB / 418.2 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2185, allocations: 0.9171 MB / 419.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.219, allocations: 270.7 kB / 419.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.2191, allocations: 84.58 kB / 419.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2193, allocations: 107.6 kB / 419.6 MB, free: 20.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2195, allocations: 143.4 kB / 419.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.2196, allocations: 24 kB / 419.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.2201, allocations: 207.8 kB / 419.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.2201, allocations: 55.77 kB / 420 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2203, allocations: 119.4 kB / 420.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.2209, allocations: 420.5 kB / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2209, allocations: 0 / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2209, allocations: 0 / 420.5 MB, free: 19.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2209, allocations: 0 / 420.5 MB, free: 19.61 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002335/0.2233, allocations: 0.8539 MB / 421.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.2233, allocations: 11.89 kB / 421.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.2234, allocations: 28.66 kB / 421.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.2236, allocations: 264.6 kB / 421.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.2236, allocations: 16.81 kB / 421.7 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.2237, allocations: 24.38 kB / 421.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.2241, allocations: 291.7 kB / 422 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2241, allocations: 192 / 422 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.2241, allocations: 15.94 kB / 422 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2241, allocations: 4 kB / 422 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2244, allocations: 277.6 kB / 422.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2256, allocations: 1.039 MB / 423.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/0.2264, allocations: 460.3 kB / 423.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2266, allocations: 180.8 kB / 423.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.2267, allocations: 8 kB / 424 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2267, allocations: 42.48 kB / 424 MB, free: 15.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.2267, allocations: 3.938 kB / 424 MB, free: 15.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002514/0.2292, allocations: 0.9599 MB / 425 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.2293, allocations: 55.41 kB / 425 MB, free: 14.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.2295, allocations: 216.8 kB / 425.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.2295, allocations: 29.7 kB / 425.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.2296, allocations: 144.5 kB / 425.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.2296, allocations: 94.64 kB / 425.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2297, allocations: 81.53 kB / 425.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.2298, allocations: 330.8 kB / 425.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.23, allocations: 172 kB / 426.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2302, allocations: 183.9 kB / 426.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.2306, allocations: 393.4 kB / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2306, allocations: 0 / 426.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001172/0.2318, allocations: 0.6501 MB / 427.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2318, allocations: 11.94 kB / 427.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2319, allocations: 4 kB / 427.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009362/0.2328, allocations: 236.6 kB / 427.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.233, allocations: 55.91 kB / 427.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.2358, allocations: 2.703 MB / 430.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.236, allocations: 35.58 kB / 430.3 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.2361, allocations: 16.05 kB / 430.3 MB, free: 9.348 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 (32): * Single equations (assignments): 31 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.2362, allocations: 141.7 kB / 430.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.2362, allocations: 19.81 kB / 430.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2374, allocations: 0.6102 MB / 431.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2374, allocations: 4 kB / 431.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2374, allocations: 0 / 431.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2374, allocations: 4 kB / 431.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.2389, allocations: 1.058 MB / 432.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2389, allocations: 3.938 kB / 432.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.656e-05/0.239, allocations: 35.92 kB / 432.2 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008567/0.2399, allocations: 236.6 kB / 432.4 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2399, allocations: 4 kB / 432.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.2425, allocations: 2.672 MB / 435.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2425, allocations: 0 / 435.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.2436, allocations: 0.6575 MB / 435.8 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.2436, allocations: 108.7 kB / 435.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2437, allocations: 16 kB / 435.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2439, allocations: 8 kB / 435.9 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2439, allocations: 27.95 kB / 435.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.244, allocations: 8 kB / 435.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2441, allocations: 163 kB / 436.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2441, allocations: 4 kB / 436.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.2445, allocations: 104 kB / 436.2 MB, free: 3.219 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 (20): * Single equations (assignments): 19 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.2447, allocations: 119.2 kB / 436.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.2457, allocations: 0.6116 MB / 436.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2457, allocations: 0 / 436.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.2465, allocations: 406.3 kB / 437.3 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.2468, allocations: 31.92 kB / 437.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.2476, allocations: 0.5097 MB / 437.9 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2477, allocations: 0.7524 MB / 438.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.085e-05/0.2478, allocations: 30.02 kB / 438.6 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.2479, allocations: 27.42 kB / 438.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2479, allocations: 0 / 438.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of Templates: time 0.009921/0.2578, allocations: 6.394 MB / 445.1 MB, free: 10.31 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)