Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 108.6 kB / 16.03 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.00102/0.00102, allocations: 193.8 kB / 16.95 MB, free: 6.098 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.03949/0.03949, allocations: 8.099 MB / 298.9 MB, free: 6.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 361.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 51.51 MB / 412.8 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001758/0.1748, allocations: 1.295 MB / 414.1 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.1757, allocations: 1.236 MB / 415.4 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.1758, allocations: 4 kB / 415.4 MB, free: 23.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.176, allocations: 67.75 kB / 415.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.1761, allocations: 43.75 kB / 415.5 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.1766, allocations: 342.7 kB / 415.8 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.1767, allocations: 123.5 kB / 415.9 MB, free: 22.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1769, allocations: 65.7 kB / 416 MB, free: 22.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.1769, allocations: 47.8 kB / 416 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.177, allocations: 71.69 kB / 416.1 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.177, allocations: 12 kB / 416.1 MB, free: 22.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1772, allocations: 107.9 kB / 416.2 MB, free: 22.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1772, allocations: 27.91 kB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1772, allocations: 63.67 kB / 416.3 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1774, allocations: 205.7 kB / 416.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1774, allocations: 3.938 kB / 416.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1775, allocations: 4 kB / 416.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1775, allocations: 0 / 416.5 MB, free: 22.07 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006781/0.1781, allocations: 483 kB / 417 MB, free: 21.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1782, allocations: 11.89 kB / 417 MB, free: 21.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.1782, allocations: 46.73 kB / 417.1 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1783, allocations: 16.75 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1784, allocations: 176.3 kB / 417.2 MB, free: 21.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1784, allocations: 12.38 kB / 417.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1784, allocations: 12.38 kB / 417.3 MB, free: 21.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1786, allocations: 138.2 kB / 417.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1786, allocations: 3.938 kB / 417.4 MB, free: 21.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1786, allocations: 11.94 kB / 417.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1786, allocations: 4 kB / 417.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1787, allocations: 95.95 kB / 417.5 MB, free: 20.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.1792, allocations: 496.1 kB / 418 MB, free: 20.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1795, allocations: 106.6 kB / 418.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1795, allocations: 24.86 kB / 418.1 MB, free: 20.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.168e-05/0.1796, allocations: 97.03 kB / 418.2 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1797, allocations: 34.56 kB / 418.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1797, allocations: 0 / 418.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004358/0.1801, allocations: 227.6 kB / 418.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/0.1801, allocations: 51.41 kB / 418.5 MB, free: 19.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.1802, allocations: 138.1 kB / 418.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1802, allocations: 29.7 kB / 418.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.1803, allocations: 119.6 kB / 418.8 MB, free: 19.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.1803, allocations: 27.58 kB / 418.8 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.1803, allocations: 29.7 kB / 418.9 MB, free: 19.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.1804, allocations: 322.8 kB / 419.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.1804, allocations: 23.98 kB / 419.2 MB, free: 19.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.1805, allocations: 31.98 kB / 419.2 MB, free: 19.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.1805, allocations: 72.78 kB / 419.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1805, allocations: 0 / 419.3 MB, free: 19.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.1807, allocations: 134.4 kB / 419.4 MB, free: 18.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.1808, allocations: 4 kB / 419.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.1808, allocations: 0 / 419.4 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.181, allocations: 32.83 kB / 419.5 MB, free: 18.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.181, allocations: 16 kB / 419.5 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006738/0.1817, allocations: 1.418 MB / 420.9 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.1818, allocations: 12.12 kB / 420.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1818, allocations: 8.016 kB / 420.9 MB, free: 17.23 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 (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 5.693e-05/0.1819, allocations: 121.8 kB / 421.1 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1819, allocations: 15.91 kB / 421.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1821, allocations: 130.8 kB / 421.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1821, allocations: 0 / 421.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1821, allocations: 0 / 421.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1821, allocations: 0 / 421.2 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.1823, allocations: 225.5 kB / 421.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1823, allocations: 0 / 421.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.1823, allocations: 8 kB / 421.4 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.1825, allocations: 40.77 kB / 421.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1825, allocations: 4 kB / 421.5 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005894/0.1831, allocations: 1.402 MB / 422.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1831, allocations: 0 / 422.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1833, allocations: 204.2 kB / 423.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.1833, allocations: 85.11 kB / 423.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1833, allocations: 4.094 kB / 423.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1834, allocations: 7.984 kB / 423.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.1834, allocations: 7.984 kB / 423.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1835, allocations: 4 kB / 423.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.1835, allocations: 111.3 kB / 423.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.1835, allocations: 0 / 423.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1838, allocations: 39.78 kB / 423.3 MB, free: 14.59 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 (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.0003335/0.1841, allocations: 0.7522 MB / 424.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1844, allocations: 190.9 kB / 424.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1844, allocations: 0 / 424.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1845, allocations: 146.7 kB / 424.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1848, allocations: 11.34 kB / 424.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.186, allocations: 1.677 MB / 426.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.1861, allocations: 0.7118 MB / 426.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.1862, allocations: 12.61 kB / 426.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1862, allocations: 31.42 kB / 426.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1862, allocations: 0 / 426.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/0.3969, allocations: 2.804 MB / 429.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.3971, allocations: 215.8 kB / 429.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.077, allocations: 3.938 kB / 429.9 MB, free: 7.969 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)