Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 108.6 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.001637/0.001637, allocations: 194.9 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04816/0.04816, allocations: 8.099 MB / 300 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1939, allocations: 51.52 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002278/0.1963, allocations: 1.613 MB / 416.3 MB, free: 23.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1976, allocations: 1.555 MB / 417.8 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1977, allocations: 4 kB / 417.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.198, allocations: 131.3 kB / 418 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1983, allocations: 139.1 kB / 418.1 MB, free: 21.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1996, allocations: 1.034 MB / 419.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.1999, allocations: 242.8 kB / 419.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.2, allocations: 76.22 kB / 419.5 MB, free: 20.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.2001, allocations: 107.6 kB / 419.6 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2002, allocations: 131.4 kB / 419.7 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.2003, allocations: 20 kB / 419.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.2005, allocations: 227.8 kB / 419.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.2006, allocations: 51.83 kB / 420 MB, free: 20.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.2007, allocations: 123.3 kB / 420.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.201, allocations: 412.5 kB / 420.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.201, allocations: 4 kB / 420.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.201, allocations: 0 / 420.5 MB, free: 19.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2011, allocations: 4 kB / 420.5 MB, free: 19.57 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003143/0.2042, allocations: 0.9943 MB / 421.5 MB, free: 18.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2042, allocations: 11.89 kB / 421.5 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.2043, allocations: 28.66 kB / 421.6 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2046, allocations: 260.5 kB / 421.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2046, allocations: 16.7 kB / 421.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.2046, allocations: 20.38 kB / 421.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.205, allocations: 302.9 kB / 422.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.205, allocations: 4.172 kB / 422.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.205, allocations: 7.938 kB / 422.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.205, allocations: 4 kB / 422.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2053, allocations: 247.9 kB / 422.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.2066, allocations: 1.168 MB / 423.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.2072, allocations: 312.1 kB / 423.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2074, allocations: 156.8 kB / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.2074, allocations: 4 kB / 424 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2074, allocations: 42.55 kB / 424.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.2074, allocations: 0 / 424.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.003538/0.211, allocations: 1.074 MB / 425.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.211, allocations: 102.8 kB / 425.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.2112, allocations: 211 kB / 425.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.2112, allocations: 33.7 kB / 425.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.2113, allocations: 132.8 kB / 425.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.2113, allocations: 82.75 kB / 425.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2114, allocations: 81.53 kB / 425.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.2115, allocations: 338.7 kB / 426.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2117, allocations: 172.3 kB / 426.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.212, allocations: 218.4 kB / 426.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.2124, allocations: 377.5 kB / 426.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2124, allocations: 0 / 426.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001847/0.2143, allocations: 0.7397 MB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2143, allocations: 4 kB / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2143, allocations: 0 / 427.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.2163, allocations: 436.3 kB / 428 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2165, allocations: 59.91 kB / 428.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.2203, allocations: 2.728 MB / 430.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.2206, allocations: 43.61 kB / 430.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2206, allocations: 12 kB / 430.9 MB, free: 8.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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.2208, allocations: 137.8 kB / 431 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.2208, allocations: 19.72 kB / 431 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.2226, allocations: 0.6988 MB / 431.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2227, allocations: 4 kB / 431.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.2227, allocations: 0 / 431.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2227, allocations: 0 / 431.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.223, allocations: 401.2 kB / 432.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.223, allocations: 0 / 432.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2231, allocations: 35.92 kB / 432.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.225, allocations: 412.6 kB / 432.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.225, allocations: 8 kB / 432.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.2283, allocations: 2.703 MB / 435.3 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2283, allocations: 4.031 kB / 435.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.23, allocations: 0.7421 MB / 436 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.2301, allocations: 92.86 kB / 436.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.2301, allocations: 8 kB / 436.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2304, allocations: 23.92 kB / 436.1 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.2305, allocations: 19.97 kB / 436.2 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.2305, allocations: 11.94 kB / 436.2 MB, free: 3.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.2306, allocations: 164.4 kB / 436.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2306, allocations: 3.938 kB / 436.3 MB, free: 3.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.2311, allocations: 103.9 kB / 436.4 MB, free: 2.918 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 (22): * Single equations (assignments): 21 * 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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.2312, allocations: 123.3 kB / 436.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.2325, allocations: 0.6277 MB / 437.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2325, allocations: 0 / 437.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008401/0.2334, allocations: 410.5 kB / 437.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2337, allocations: 34.08 kB / 437.6 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.2344, allocations: 0.4984 MB / 438.1 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2346, allocations: 0.7485 MB / 438.9 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2347, allocations: 29.92 kB / 438.9 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.2347, allocations: 27.42 kB / 438.9 MB, free: 360 kB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2348, allocations: 0 / 438.9 MB, free: 360 kB / 302.1 MB Notification: Performance of Templates: time 0.011/0.2458, allocations: 7.111 MB / 446 MB, free: 9.266 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)