Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 104.7 kB / 16.68 MB, free: 6.328 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.001038/0.001038, allocations: 186 kB / 17.61 MB, free: 5.723 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.305/1.305, allocations: 222.9 MB / 241.3 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04401/0.04401, allocations: 8.107 MB / 299.5 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.91 kB / 361.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1973, allocations: 51.51 MB / 413.4 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001949/0.1992, allocations: 1.212 MB / 414.6 MB, free: 24.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2005, allocations: 1.427 MB / 416 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.2005, allocations: 4 kB / 416 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.2008, allocations: 95.66 kB / 416.1 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.201, allocations: 59.69 kB / 416.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.202, allocations: 0.7121 MB / 416.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.2022, allocations: 131.4 kB / 417 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2024, allocations: 45.09 kB / 417.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.2024, allocations: 59.72 kB / 417.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.2025, allocations: 71.75 kB / 417.2 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2025, allocations: 15.94 kB / 417.2 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.2028, allocations: 163.8 kB / 417.4 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.2028, allocations: 27.86 kB / 417.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2029, allocations: 63.72 kB / 417.5 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2031, allocations: 189.5 kB / 417.6 MB, free: 21.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2031, allocations: 0 / 417.6 MB, free: 21.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2031, allocations: 0 / 417.6 MB, free: 21.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2031, allocations: 0 / 417.6 MB, free: 21.49 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.00132/0.2045, allocations: 0.5811 MB / 418.2 MB, free: 20.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2045, allocations: 11.89 kB / 418.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.2046, allocations: 16.75 kB / 418.3 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2047, allocations: 222.9 kB / 418.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2047, allocations: 12.61 kB / 418.5 MB, free: 20.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.2048, allocations: 12.38 kB / 418.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.205, allocations: 168 kB / 418.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.205, allocations: 4.125 kB / 418.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2051, allocations: 7.938 kB / 418.7 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2051, allocations: 4 kB / 418.7 MB, free: 20.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.2053, allocations: 148.6 kB / 418.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.206, allocations: 0.5714 MB / 419.4 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2062, allocations: 158.5 kB / 419.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.41e-05/0.2063, allocations: 72.84 kB / 419.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2064, allocations: 4 kB / 419.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2064, allocations: 34.56 kB / 419.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2064, allocations: 0 / 419.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008942/0.2073, allocations: 395.5 kB / 420 MB, free: 18.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.2073, allocations: 55.41 kB / 420.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.2075, allocations: 166.7 kB / 420.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2075, allocations: 25.7 kB / 420.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.2075, allocations: 120.1 kB / 420.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2076, allocations: 47.3 kB / 420.4 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.2076, allocations: 45.69 kB / 420.5 MB, free: 18.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.2077, allocations: 322.8 kB / 420.8 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2078, allocations: 87.97 kB / 420.9 MB, free: 18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2079, allocations: 91.97 kB / 421 MB, free: 17.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.2081, allocations: 195.1 kB / 421.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2081, allocations: 0 / 421.2 MB, free: 17.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004635/0.2086, allocations: 307.7 kB / 421.5 MB, free: 17.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2086, allocations: 4 kB / 421.5 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2086, allocations: 0 / 421.5 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.2089, allocations: 56.81 kB / 421.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2091, allocations: 39.86 kB / 421.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.2101, allocations: 1.539 MB / 423.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2103, allocations: 19.78 kB / 423.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2103, allocations: 8 kB / 423.1 MB, free: 15.6 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.286e-05/0.2104, allocations: 129.9 kB / 423.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.2104, allocations: 7.906 kB / 423.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.2109, allocations: 239.2 kB / 423.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2109, allocations: 0 / 423.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2109, allocations: 0 / 423.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2109, allocations: 0 / 423.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2111, allocations: 277.4 kB / 423.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2111, allocations: 0 / 423.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.918e-05/0.2112, allocations: 19.88 kB / 423.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.2114, allocations: 56.81 kB / 423.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2114, allocations: 3.938 kB / 423.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009432/0.2124, allocations: 1.527 MB / 425.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2124, allocations: 0 / 425.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.2128, allocations: 319.5 kB / 425.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.2128, allocations: 85.02 kB / 425.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2129, allocations: 4.062 kB / 425.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.213, allocations: 7.938 kB / 425.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.213, allocations: 11.98 kB / 425.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.2131, allocations: 4 kB / 425.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.2131, allocations: 130.1 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2131, allocations: 0 / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003294/0.2135, allocations: 63.83 kB / 426 MB, free: 12.5 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.2136, allocations: 115.2 kB / 426.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.2142, allocations: 322.6 kB / 426.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2142, allocations: 4 kB / 426.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.2146, allocations: 198.7 kB / 426.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2148, allocations: 11.94 kB / 426.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005735/0.2154, allocations: 376 kB / 427 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.2156, allocations: 0.7084 MB / 427.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.2156, allocations: 19.42 kB / 427.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2156, allocations: 0 / 427.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Templates: time 0.003783/0.2194, allocations: 2.768 MB / 430.5 MB, free: 7.906 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)