Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004263/0.004263, allocations: 93.11 kB / 15.91 MB, free: 6.273 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.0009843/0.0009843, allocations: 200.2 kB / 16.84 MB, free: 6.188 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.197/1.197, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1466/0.1466, allocations: 8.085 MB / 298.7 MB, free: 2.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009886/0.0009887, allocations: 59.91 kB / 361 MB, free: 13.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08514, allocations: 51.52 MB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001842/0.08702, allocations: 0.9154 MB / 413.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.0883, allocations: 1.302 MB / 414.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.08834, allocations: 4 kB / 414.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.08855, allocations: 51.83 kB / 414.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.08867, allocations: 35.78 kB / 414.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.08925, allocations: 342.4 kB / 415.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.798e-05/0.08933, allocations: 75.59 kB / 415.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.08942, allocations: 23.95 kB / 415.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.08946, allocations: 31.86 kB / 415.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.08957, allocations: 47.83 kB / 415.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.08959, allocations: 4 kB / 415.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.08976, allocations: 95.89 kB / 415.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.08978, allocations: 7.938 kB / 415.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.08983, allocations: 43.78 kB / 415.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.09003, allocations: 143.9 kB / 415.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09005, allocations: 4 kB / 415.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.09005, allocations: 0 / 415.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09006, allocations: 0 / 415.6 MB, free: 7.078 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007297/0.0908, allocations: 443.2 kB / 416.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.09083, allocations: 8.031 kB / 416.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.09087, allocations: 8.844 kB / 416.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.09102, allocations: 192.1 kB / 416.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.09103, allocations: 8.312 kB / 416.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.09105, allocations: 4.375 kB / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.0912, allocations: 94.22 kB / 416.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.09122, allocations: 192 / 416.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.09124, allocations: 7.938 kB / 416.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.09124, allocations: 4 kB / 416.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.09135, allocations: 71.97 kB / 416.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.09184, allocations: 380.6 kB / 416.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.09214, allocations: 106.7 kB / 416.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.0922, allocations: 32.86 kB / 417 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.09224, allocations: 0 / 417 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.09226, allocations: 42.55 kB / 417 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.09227, allocations: 0 / 417 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005086/0.09278, allocations: 235.6 kB / 417.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.09282, allocations: 55.41 kB / 417.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.09295, allocations: 145.9 kB / 417.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.09297, allocations: 25.7 kB / 417.5 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.09303, allocations: 99.94 kB / 417.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.09305, allocations: 23.66 kB / 417.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.0931, allocations: 25.7 kB / 417.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.09319, allocations: 318.8 kB / 417.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.09324, allocations: 39.98 kB / 418 MB, free: 4.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.0933, allocations: 39.88 kB / 418 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.0934, allocations: 68.84 kB / 418.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.09341, allocations: 0 / 418.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000252/0.09366, allocations: 154.5 kB / 418.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.09369, allocations: 6.188 kB / 418.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.09369, allocations: 3.938 kB / 418.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/0.09391, allocations: 32.83 kB / 418.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.09399, allocations: 23.98 kB / 418.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009458/0.09494, allocations: 1.331 MB / 419.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.09503, allocations: 11.97 kB / 419.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.09504, allocations: 4 kB / 419.6 MB, free: 2.695 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 (9): * Single equations (assignments): 8 * 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 7.679e-05/0.09513, allocations: 121.7 kB / 419.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.09516, allocations: 7.906 kB / 419.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.09543, allocations: 130.9 kB / 419.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09544, allocations: 4.094 kB / 419.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.09544, allocations: 0 / 419.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.09545, allocations: 0 / 419.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.09563, allocations: 209.5 kB / 420.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09564, allocations: 0 / 420.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.09568, allocations: 11.94 kB / 420.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.09583, allocations: 32.83 kB / 420.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.09585, allocations: 8 kB / 420.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008634/0.09672, allocations: 1.315 MB / 421.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.09673, allocations: 8.031 kB / 421.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.09698, allocations: 208.3 kB / 421.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.09703, allocations: 92.95 kB / 421.8 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.09705, allocations: 3.938 kB / 421.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.09716, allocations: 7.984 kB / 421.8 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.09719, allocations: 11.98 kB / 421.8 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.0972, allocations: 0 / 421.8 MB, free: 296 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.474e-05/0.09729, allocations: 115.3 kB / 421.9 MB, free: 180 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0973, allocations: 3.938 kB / 421.9 MB, free: 176 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.09755, allocations: 24 kB / 421.9 MB, free: 152 kB / 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 (6): * Single equations (assignments): 5 * 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.0001375/0.0977, allocations: 111.2 kB / 422 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.09804, allocations: 198.6 kB / 422.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.09805, allocations: 0 / 422.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.09823, allocations: 155.3 kB / 422.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.09854, allocations: 19.92 kB / 422.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.0989, allocations: 244.3 kB / 422.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.09911, allocations: 0.6887 MB / 423.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.09917, allocations: 8.656 kB / 423.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.0992, allocations: 15.44 kB / 423.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09921, allocations: 4 kB / 423.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003559/0.1028, allocations: 1.446 MB / 424.8 MB, free: 13.2 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)