Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009822, allocations: 84.19 kB / 15.75 MB, free: 416 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.0009972/0.0009976, allocations: 177.5 kB / 16.63 MB, free: 6.887 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.504/1.504, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2301/0.2301, allocations: 8.085 MB / 299.8 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 16 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 52.51 MB / 415.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001352/0.1158, allocations: 1.019 MB / 416.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1175, allocations: 1.443 MB / 417.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.1176, allocations: 7.938 kB / 417.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1179, allocations: 79.67 kB / 417.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.1181, allocations: 83.5 kB / 418 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1195, allocations: 0.7204 MB / 418.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.1198, allocations: 175 kB / 418.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.12, allocations: 49.83 kB / 418.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.1201, allocations: 75.7 kB / 419 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1202, allocations: 87.61 kB / 419.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1203, allocations: 8 kB / 419.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1206, allocations: 179.8 kB / 419.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.1207, allocations: 39.83 kB / 419.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.1207, allocations: 49.64 kB / 419.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.1211, allocations: 243.6 kB / 419.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1211, allocations: 0 / 419.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1211, allocations: 3.938 kB / 419.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1211, allocations: 0 / 419.6 MB, free: 4.465 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001619/0.1227, allocations: 0.6549 MB / 420.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1228, allocations: 12.02 kB / 420.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.1228, allocations: 27.67 kB / 420.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1231, allocations: 226.8 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1231, allocations: 12.28 kB / 420.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1232, allocations: 12 kB / 420.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.1235, allocations: 207.8 kB / 420.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1236, allocations: 4 kB / 420.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1236, allocations: 4 kB / 420.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1236, allocations: 8 kB / 420.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.1239, allocations: 208.7 kB / 421 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1251, allocations: 0.8501 MB / 421.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.1258, allocations: 371.8 kB / 422.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.126, allocations: 136.8 kB / 422.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.1261, allocations: 8 kB / 422.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1262, allocations: 30.56 kB / 422.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.1262, allocations: 7.938 kB / 422.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001977/0.1282, allocations: 0.7162 MB / 423.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1282, allocations: 63.36 kB / 423.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1284, allocations: 186.2 kB / 423.3 MB, free: 492 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1285, allocations: 33.7 kB / 423.4 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.1286, allocations: 116.4 kB / 423.5 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.1286, allocations: 78.91 kB / 423.6 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.1287, allocations: 4 kB / 423.6 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2379/0.3666, allocations: 326.8 kB / 423.9 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.3669, allocations: 118 kB / 424 MB, free: 41.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.3671, allocations: 127.2 kB / 424.1 MB, free: 41.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3674, allocations: 129.7 kB / 424.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3674, allocations: 1.438 kB / 424.2 MB, free: 41.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001002/0.3684, allocations: 490.7 kB / 424.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3684, allocations: 5.75 kB / 424.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3684, allocations: 1 kB / 424.7 MB, free: 41.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.3691, allocations: 180.8 kB / 424.9 MB, free: 41.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.3693, allocations: 43.11 kB / 424.9 MB, free: 41.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.372, allocations: 2.164 MB / 427.1 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3722, allocations: 19.44 kB / 427.1 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3722, allocations: 6.797 kB / 427.1 MB, free: 39.85 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 (23): * Single equations (assignments): 22 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.3723, allocations: 145.3 kB / 427.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.3724, allocations: 17.16 kB / 427.3 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008921/0.3733, allocations: 469.1 kB / 427.8 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3733, allocations: 3.094 kB / 427.8 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3733, allocations: 4.453 kB / 427.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3733, allocations: 0 / 427.8 MB, free: 39.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3745, allocations: 0.8488 MB / 428.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3745, allocations: 0 / 428.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.3746, allocations: 35.53 kB / 428.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.3752, allocations: 171.4 kB / 428.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3753, allocations: 10.2 kB / 428.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/0.3775, allocations: 2.146 MB / 431 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3776, allocations: 2 kB / 431 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.3784, allocations: 0.5192 MB / 431.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.3784, allocations: 101.1 kB / 431.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.3785, allocations: 6.344 kB / 431.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3786, allocations: 19.28 kB / 431.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.3787, allocations: 16.78 kB / 431.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3787, allocations: 11.28 kB / 431.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.712e-05/0.3788, allocations: 134 kB / 431.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3788, allocations: 0 / 431.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.3792, allocations: 85.84 kB / 431.9 MB, free: 37.68 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 (16): * Single equations (assignments): 15 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.3794, allocations: 118.5 kB / 432 MB, free: 37.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.3802, allocations: 478.2 kB / 432.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3802, allocations: 2.969 kB / 432.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.3807, allocations: 336.6 kB / 432.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3811, allocations: 24.73 kB / 432.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.3818, allocations: 0.4905 MB / 433.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.382, allocations: 0.731 MB / 434 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.264e-05/0.3821, allocations: 28.97 kB / 434 MB, free: 36.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.3821, allocations: 16.88 kB / 434.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3821, allocations: 0 / 434.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of Templates: time 0.007436/0.3896, allocations: 4.261 MB / 438.3 MB, free: 36.13 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) Environment - environmentSimulation: