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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0008106/0.0008106, allocations: 95.77 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009145/0.0009146, allocations: 177.6 kB / 16.62 MB, free: 6.434 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.538/1.538, allocations: 223.3 MB / 240.7 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2432/0.2432, allocations: 8.081 MB / 299.8 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 8 kB / 362.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 52.51 MB / 415.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001494/0.1182, allocations: 0.8707 MB / 416.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1202, allocations: 1.408 MB / 417.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1203, allocations: 4 kB / 417.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1206, allocations: 87.59 kB / 417.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1208, allocations: 59.67 kB / 417.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1223, allocations: 0.7164 MB / 418.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.1226, allocations: 143.2 kB / 418.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.1228, allocations: 33.72 kB / 418.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.1229, allocations: 63.72 kB / 418.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1232, allocations: 75.67 kB / 418.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1232, allocations: 8 kB / 418.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.1236, allocations: 183.8 kB / 419 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.1237, allocations: 19.86 kB / 419 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.1237, allocations: 49.64 kB / 419.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.124, allocations: 223.7 kB / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1241, allocations: 0 / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1241, allocations: 0 / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1241, allocations: 4 kB / 419.3 MB, free: 4.77 MB / 350.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.001566/0.1257, allocations: 0.6083 MB / 419.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1257, allocations: 8.031 kB / 419.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.1258, allocations: 19.77 kB / 419.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.126, allocations: 233.1 kB / 420.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1261, allocations: 8.234 kB / 420.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.1261, allocations: 12 kB / 420.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.1264, allocations: 175.5 kB / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1265, allocations: 0 / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1265, allocations: 0 / 420.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1265, allocations: 8 kB / 420.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1268, allocations: 160.6 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.128, allocations: 0.7109 MB / 421.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.1286, allocations: 202.5 kB / 421.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1287, allocations: 88.84 kB / 421.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.404e-05/0.1288, allocations: 7.984 kB / 421.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1288, allocations: 34.56 kB / 421.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.1288, allocations: 0 / 421.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00153/0.1304, allocations: 0.5686 MB / 422.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1304, allocations: 51.41 kB / 422.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1306, allocations: 160.5 kB / 422.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1306, allocations: 37.64 kB / 422.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.1307, allocations: 120.2 kB / 422.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.1308, allocations: 55.19 kB / 422.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.1308, allocations: 4 kB / 422.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.131, allocations: 326.8 kB / 422.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1311, allocations: 91.97 kB / 423 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.1313, allocations: 91.97 kB / 423 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1315, allocations: 97.02 kB / 423.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1315, allocations: 0 / 423.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007611/0.1322, allocations: 385.2 kB / 423.5 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1323, allocations: 11.94 kB / 423.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1323, allocations: 0 / 423.5 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/0.1329, allocations: 140.7 kB / 423.7 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.133, allocations: 27.92 kB / 423.7 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2555/0.3885, allocations: 1.881 MB / 425.6 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.3888, allocations: 15.38 kB / 425.6 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.3888, allocations: 8.5 kB / 425.6 MB, free: 39.79 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.3889, allocations: 130.4 kB / 425.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.389, allocations: 17.42 kB / 425.7 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.3898, allocations: 370.2 kB / 426.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3898, allocations: 3.719 kB / 426.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3898, allocations: 0 / 426.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3898, allocations: 0 / 426.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.3901, allocations: 288.3 kB / 426.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3901, allocations: 0 / 426.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3902, allocations: 25.67 kB / 426.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/0.3907, allocations: 138.4 kB / 426.5 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3907, allocations: 7.516 kB / 426.6 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.3925, allocations: 1.863 MB / 428.4 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3925, allocations: 3.328 kB / 428.4 MB, free: 38.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.3932, allocations: 426 kB / 428.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.3933, allocations: 94.5 kB / 428.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3933, allocations: 9.047 kB / 428.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3935, allocations: 15.7 kB / 429 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3935, allocations: 11.97 kB / 429 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.3935, allocations: 9.688 kB / 429 MB, free: 37.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3936, allocations: 127.6 kB / 429.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3936, allocations: 0 / 429.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003857/0.394, allocations: 64.66 kB / 429.2 MB, free: 37.84 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002112/0.3942, allocations: 122.9 kB / 429.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007728/0.395, allocations: 375.9 kB / 429.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.395, allocations: 0 / 429.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.3954, allocations: 265.2 kB / 429.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3957, allocations: 19.56 kB / 429.9 MB, free: 37.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3963, allocations: 413.9 kB / 430.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.3964, allocations: 0.7174 MB / 431 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.3965, allocations: 33.39 kB / 431.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3966, allocations: 13.84 kB / 431.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3966, allocations: 0 / 431.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of Templates: time 0.006857/0.4034, allocations: 3.62 MB / 434.7 MB, free: 36.4 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: