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.001287/0.001287, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.001341/0.001341, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.343/1.343, allocations: 222.9 MB / 241.6 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.05008/0.05008, allocations: 8.101 MB / 299.9 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 362.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.229, allocations: 51.52 MB / 413.9 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002039/0.2311, allocations: 1.208 MB / 415.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2325, allocations: 1.489 MB / 416.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.2325, allocations: 0 / 416.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.2328, allocations: 111.5 kB / 416.7 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.233, allocations: 75.47 kB / 416.8 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2343, allocations: 0.8907 MB / 417.7 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.2345, allocations: 155.2 kB / 417.8 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2346, allocations: 53.52 kB / 417.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.2347, allocations: 59.73 kB / 418 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2348, allocations: 91.66 kB / 418 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.2348, allocations: 12 kB / 418.1 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.2351, allocations: 203.8 kB / 418.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.2352, allocations: 35.84 kB / 418.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.2352, allocations: 67.61 kB / 418.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.2355, allocations: 305.1 kB / 418.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2355, allocations: 4 kB / 418.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2355, allocations: 0 / 418.7 MB, free: 20.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2356, allocations: 0 / 418.7 MB, free: 20.81 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.001482/0.237, allocations: 0.6357 MB / 419.3 MB, free: 20.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2371, allocations: 11.89 kB / 419.3 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.2372, allocations: 20.75 kB / 419.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2374, allocations: 229.8 kB / 419.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2374, allocations: 8.609 kB / 419.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2374, allocations: 12.38 kB / 419.6 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.2377, allocations: 177.2 kB / 419.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2377, allocations: 4 kB / 419.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.2377, allocations: 8 kB / 419.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2377, allocations: 0 / 419.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.2379, allocations: 160.6 kB / 419.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.2388, allocations: 0.6992 MB / 420.6 MB, free: 18.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.2392, allocations: 210.4 kB / 420.8 MB, free: 18.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2394, allocations: 92.84 kB / 420.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.2394, allocations: 7.984 kB / 420.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2394, allocations: 34.56 kB / 421 MB, free: 18.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2394, allocations: 8 kB / 421 MB, free: 18.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001574/0.241, allocations: 0.554 MB / 421.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2411, allocations: 67.34 kB / 421.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2412, allocations: 169.8 kB / 421.7 MB, free: 17.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2412, allocations: 33.7 kB / 421.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.2413, allocations: 108.3 kB / 421.9 MB, free: 17.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.2413, allocations: 59.19 kB / 421.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.2414, allocations: 41.7 kB / 422 MB, free: 17.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.2414, allocations: 322.8 kB / 422.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2416, allocations: 95.91 kB / 422.4 MB, free: 16.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2417, allocations: 99.83 kB / 422.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2419, allocations: 218.4 kB / 422.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2419, allocations: 0 / 422.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007435/0.2427, allocations: 388.7 kB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2427, allocations: 8 kB / 423.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2427, allocations: 3.938 kB / 423.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/0.2434, allocations: 136.7 kB / 423.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2435, allocations: 27.98 kB / 423.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.2456, allocations: 2.036 MB / 425.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2458, allocations: 11.84 kB / 425.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2458, allocations: 8 kB / 425.3 MB, free: 13.75 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 8.503e-05/0.2459, allocations: 133.8 kB / 425.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.2459, allocations: 19.8 kB / 425.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007574/0.2467, allocations: 355.3 kB / 425.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2467, allocations: 4 kB / 425.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2467, allocations: 0 / 425.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2467, allocations: 7.984 kB / 425.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.247, allocations: 297.4 kB / 426.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.247, allocations: 0 / 426.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.2471, allocations: 23.92 kB / 426.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005579/0.2476, allocations: 140.7 kB / 426.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.2476, allocations: 8 kB / 426.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.2493, allocations: 2.012 MB / 428.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2493, allocations: 0 / 428.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.25, allocations: 430.1 kB / 428.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.2501, allocations: 88.95 kB / 428.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.2501, allocations: 11.98 kB / 428.8 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.2503, allocations: 4 kB / 428.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2503, allocations: 15.92 kB / 428.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2503, allocations: 7.984 kB / 428.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.2504, allocations: 132.8 kB / 429 MB, free: 9.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2504, allocations: 0 / 429 MB, free: 9.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00033/0.2508, allocations: 67.84 kB / 429 MB, free: 9.777 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.0001388/0.2509, allocations: 123.2 kB / 429.2 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006899/0.2516, allocations: 386.4 kB / 429.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2516, allocations: 0 / 429.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.252, allocations: 262.6 kB / 429.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.2523, allocations: 22.33 kB / 429.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.2529, allocations: 388.4 kB / 430.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.253, allocations: 0.7203 MB / 430.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.2531, allocations: 19.42 kB / 430.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2531, allocations: 0 / 430.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Templates: time 0.003912/0.257, allocations: 3.081 MB / 434 MB, free: 4.707 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)