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.001264/0.001264, allocations: 108.1 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.001166/0.001166, 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.38/1.38, allocations: 222.9 MB / 241.2 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04854/0.04854, allocations: 8.095 MB / 299.4 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.84 kB / 361.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1953, allocations: 51.52 MB / 413.2 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002119/0.1975, allocations: 1.203 MB / 414.4 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1988, allocations: 1.435 MB / 415.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.1989, allocations: 4 kB / 415.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1992, allocations: 95.66 kB / 415.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1994, allocations: 59.62 kB / 416 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2005, allocations: 0.7278 MB / 416.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.2007, allocations: 135.3 kB / 416.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2008, allocations: 37.09 kB / 416.9 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.2008, allocations: 55.78 kB / 417 MB, free: 22.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.2009, allocations: 67.7 kB / 417 MB, free: 22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.201, allocations: 8 kB / 417 MB, free: 21.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.2013, allocations: 155.8 kB / 417.2 MB, free: 21.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.2013, allocations: 23.86 kB / 417.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.2014, allocations: 71.66 kB / 417.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2016, allocations: 189.5 kB / 417.5 MB, free: 21.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2016, allocations: 3.938 kB / 417.5 MB, free: 21.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.2016, allocations: 0 / 417.5 MB, free: 21.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.2016, allocations: 0 / 417.5 MB, free: 21.56 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.00133/0.2029, allocations: 0.5812 MB / 418 MB, free: 20.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.203, allocations: 11.97 kB / 418.1 MB, free: 20.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.203, allocations: 16.75 kB / 418.1 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2032, allocations: 212.9 kB / 418.3 MB, free: 20.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2032, allocations: 12.61 kB / 418.3 MB, free: 20.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.2032, allocations: 12.38 kB / 418.3 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2035, allocations: 172 kB / 418.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2035, allocations: 4.188 kB / 418.5 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.2035, allocations: 7.938 kB / 418.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2035, allocations: 7.938 kB / 418.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2037, allocations: 152.6 kB / 418.6 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.2044, allocations: 0.5636 MB / 419.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2047, allocations: 158.5 kB / 419.4 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.2048, allocations: 68.86 kB / 419.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.2048, allocations: 7.984 kB / 419.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2048, allocations: 30.56 kB / 419.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.2048, allocations: 0 / 419.5 MB, free: 19.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008795/0.2057, allocations: 391.2 kB / 419.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.2058, allocations: 55.41 kB / 419.9 MB, free: 18.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2059, allocations: 166.9 kB / 420.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2059, allocations: 25.7 kB / 420.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.2059, allocations: 120.1 kB / 420.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.206, allocations: 51.3 kB / 420.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.206, allocations: 45.69 kB / 420.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.2061, allocations: 318.8 kB / 420.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.2062, allocations: 91.97 kB / 420.7 MB, free: 18.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2063, allocations: 95.36 kB / 420.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.2065, allocations: 192.7 kB / 421 MB, free: 17.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2066, allocations: 0 / 421 MB, free: 17.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004546/0.207, allocations: 307.6 kB / 421.3 MB, free: 17.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.207, allocations: 8 kB / 421.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2071, allocations: 3.984 kB / 421.3 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.2073, allocations: 52.77 kB / 421.3 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2075, allocations: 35.97 kB / 421.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009808/0.2085, allocations: 1.436 MB / 422.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2086, allocations: 19.84 kB / 422.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2087, allocations: 8 kB / 422.8 MB, free: 15.79 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.397e-05/0.2087, allocations: 125.8 kB / 423 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.2088, allocations: 19.75 kB / 423 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.2092, allocations: 235.5 kB / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2093, allocations: 3.938 kB / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2093, allocations: 4 kB / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2093, allocations: 0 / 423.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2095, allocations: 273.3 kB / 423.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2095, allocations: 0 / 423.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.2095, allocations: 23.92 kB / 423.5 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.2098, allocations: 44.83 kB / 423.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2098, allocations: 4 kB / 423.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008829/0.2107, allocations: 1.44 MB / 425 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2107, allocations: 0 / 425 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.2111, allocations: 311.7 kB / 425.3 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.2111, allocations: 85.02 kB / 425.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.2111, allocations: 11.98 kB / 425.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2112, allocations: 4.094 kB / 425.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.2113, allocations: 7.938 kB / 425.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2113, allocations: 11.98 kB / 425.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.254e-05/0.2114, allocations: 126.1 kB / 425.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2114, allocations: 0 / 425.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.2117, allocations: 59.84 kB / 425.6 MB, free: 12.79 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.0001474/0.2119, allocations: 111.2 kB / 425.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.2124, allocations: 318.6 kB / 426 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2124, allocations: 0 / 426 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.2127, allocations: 202.6 kB / 426.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.213, allocations: 14.61 kB / 426.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.2136, allocations: 375 kB / 426.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2137, allocations: 0.7085 MB / 427.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.2137, allocations: 27.42 kB / 427.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2138, allocations: 0 / 427.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Templates: time 0.003746/0.2175, allocations: 2.768 MB / 430.1 MB, free: 8.191 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)