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.001497/0.001497, allocations: 112.2 kB / 17.09 MB, free: 5.773 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.001688/0.001688, allocations: 196 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.372/1.372, 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.0507/0.0507, allocations: 8.107 MB / 300 MB, free: 6.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 363.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2012, allocations: 51.52 MB / 414.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002078/0.2034, allocations: 1.22 MB / 415.9 MB, free: 24.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2048, allocations: 1.489 MB / 417.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.2049, allocations: 4 kB / 417.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.2052, allocations: 99.48 kB / 417.5 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2053, allocations: 83.45 kB / 417.6 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2065, allocations: 0.8829 MB / 418.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2067, allocations: 163.2 kB / 418.6 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2068, allocations: 57.52 kB / 418.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.2068, allocations: 59.78 kB / 418.7 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.207, allocations: 87.56 kB / 418.8 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.207, allocations: 15.94 kB / 418.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.2072, allocations: 199.8 kB / 419 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.2073, allocations: 31.84 kB / 419.1 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.2073, allocations: 75.66 kB / 419.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2077, allocations: 312.8 kB / 419.5 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2077, allocations: 4 kB / 419.5 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2077, allocations: 0 / 419.5 MB, free: 20.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2077, allocations: 0 / 419.5 MB, free: 20.71 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.001466/0.2092, allocations: 0.6279 MB / 420.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2092, allocations: 15.89 kB / 420.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.2093, allocations: 16.75 kB / 420.1 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.2095, allocations: 224.5 kB / 420.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2095, allocations: 16.55 kB / 420.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.2095, allocations: 12.38 kB / 420.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.2098, allocations: 177.2 kB / 420.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2098, allocations: 0 / 420.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2098, allocations: 8 kB / 420.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2099, allocations: 4 kB / 420.5 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.21, allocations: 156.6 kB / 420.7 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.2108, allocations: 0.6991 MB / 421.4 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.2113, allocations: 205.5 kB / 421.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.2114, allocations: 96.83 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.2114, allocations: 4 kB / 421.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2115, allocations: 34.5 kB / 421.7 MB, free: 18.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.2115, allocations: 4 kB / 421.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0015/0.213, allocations: 0.5657 MB / 422.3 MB, free: 17.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.213, allocations: 55.41 kB / 422.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2131, allocations: 172.6 kB / 422.5 MB, free: 17.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2132, allocations: 29.7 kB / 422.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.2132, allocations: 116.3 kB / 422.7 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.2132, allocations: 55.2 kB / 422.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.2133, allocations: 41.69 kB / 422.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.2134, allocations: 326.8 kB / 423.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2135, allocations: 91.97 kB / 423.2 MB, free: 16.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.2136, allocations: 103.8 kB / 423.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.2139, allocations: 210.4 kB / 423.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2139, allocations: 4 kB / 423.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006836/0.2146, allocations: 384.8 kB / 423.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2146, allocations: 4 kB / 423.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2146, allocations: 11.88 kB / 423.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.2152, allocations: 136.7 kB / 424 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2153, allocations: 31.92 kB / 424 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.2172, allocations: 2.025 MB / 426.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2173, allocations: 23.83 kB / 426.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2174, allocations: 12.06 kB / 426.1 MB, free: 13.66 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 7.493e-05/0.2175, allocations: 129.7 kB / 426.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.2175, allocations: 15.81 kB / 426.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.2182, allocations: 365.1 kB / 426.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2182, allocations: 8 kB / 426.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2182, allocations: 0 / 426.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2182, allocations: 0 / 426.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.2184, allocations: 301.4 kB / 426.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2185, allocations: 0 / 426.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.2185, allocations: 16 kB / 426.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/0.219, allocations: 140.7 kB / 427.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.2191, allocations: 4 kB / 427.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.2206, allocations: 2.012 MB / 429.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2206, allocations: 8 kB / 429.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.2213, allocations: 423.9 kB / 429.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2213, allocations: 88.95 kB / 429.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.2213, allocations: 4 kB / 429.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2215, allocations: 19.92 kB / 429.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.2215, allocations: 11.98 kB / 429.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2216, allocations: 4 kB / 429.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.2217, allocations: 128.8 kB / 429.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2217, allocations: 0 / 429.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.222, allocations: 71.83 kB / 429.8 MB, free: 9.695 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.000131/0.2221, allocations: 128.6 kB / 429.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006061/0.2227, allocations: 378.5 kB / 430.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2227, allocations: 0 / 430.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.2231, allocations: 273.8 kB / 430.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2235, allocations: 15.94 kB / 430.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.224, allocations: 355.2 kB / 430.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2241, allocations: 0.7125 MB / 431.6 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.2241, allocations: 29.47 kB / 431.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.2242, allocations: 23.42 kB / 431.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2242, allocations: 0 / 431.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of Templates: time 0.005623/0.2298, allocations: 4.012 MB / 435.7 MB, free: 3.723 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 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)