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-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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.00118/0.00118, allocations: 109.7 kB / 16.03 MB, free: 6.363 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.001236/0.001236, allocations: 186.2 kB / 16.95 MB, free: 6.176 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.273/1.273, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04388/0.04388, allocations: 8.098 MB / 298.9 MB, free: 6.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 361.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1714, allocations: 51.52 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001655/0.1731, allocations: 0.9117 MB / 413.8 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.1741, allocations: 1.287 MB / 415 MB, free: 23.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.1741, allocations: 4 kB / 415 MB, free: 23.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1743, allocations: 43.84 kB / 415.1 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1745, allocations: 43.77 kB / 415.1 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.175, allocations: 338.8 kB / 415.5 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.175, allocations: 63.67 kB / 415.5 MB, free: 23.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.1751, allocations: 27.94 kB / 415.6 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.1752, allocations: 27.91 kB / 415.6 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.1753, allocations: 47.83 kB / 415.6 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1753, allocations: 4 kB / 415.6 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1754, allocations: 99.89 kB / 415.7 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.1755, allocations: 19.92 kB / 415.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.1755, allocations: 39.73 kB / 415.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1757, allocations: 153.9 kB / 415.9 MB, free: 22.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1757, allocations: 3.938 kB / 415.9 MB, free: 22.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1757, allocations: 0 / 415.9 MB, free: 22.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1757, allocations: 0 / 415.9 MB, free: 22.65 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006703/0.1764, allocations: 435.2 kB / 416.4 MB, free: 22.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1764, allocations: 15.89 kB / 416.4 MB, free: 22.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.1764, allocations: 38.69 kB / 416.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1765, allocations: 16.84 kB / 416.4 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1766, allocations: 180.2 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1766, allocations: 4.375 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1766, allocations: 8.375 kB / 416.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1768, allocations: 98.14 kB / 416.7 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1768, allocations: 7.875 kB / 416.7 MB, free: 21.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1768, allocations: 0 / 416.7 MB, free: 21.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1768, allocations: 4 kB / 416.7 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.1769, allocations: 67.97 kB / 416.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.1773, allocations: 380.7 kB / 417.2 MB, free: 21.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1776, allocations: 110.6 kB / 417.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.1776, allocations: 32.84 kB / 417.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.1777, allocations: 8.141 kB / 417.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.1777, allocations: 38.56 kB / 417.4 MB, free: 21.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1777, allocations: 0 / 417.4 MB, free: 21.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004678/0.1782, allocations: 235.4 kB / 417.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.1782, allocations: 59.34 kB / 417.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.1783, allocations: 138.1 kB / 417.8 MB, free: 20.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.1783, allocations: 25.7 kB / 417.8 MB, free: 20.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.1784, allocations: 107.9 kB / 417.9 MB, free: 20.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.1784, allocations: 23.64 kB / 417.9 MB, free: 20.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1784, allocations: 25.72 kB / 418 MB, free: 20.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.1785, allocations: 318.8 kB / 418.3 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.1785, allocations: 31.98 kB / 418.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.1786, allocations: 31.98 kB / 418.3 MB, free: 20 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.1786, allocations: 72.8 kB / 418.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1786, allocations: 0 / 418.4 MB, free: 19.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000217/0.1789, allocations: 146.5 kB / 418.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1789, allocations: 12.02 kB / 418.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1789, allocations: 7.938 kB / 418.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.1791, allocations: 28.84 kB / 418.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.1792, allocations: 15.98 kB / 418.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007284/0.1799, allocations: 1.437 MB / 420 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.18, allocations: 4.031 kB / 420 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.18, allocations: 4 kB / 420.1 MB, free: 18.12 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.54e-05/0.1801, allocations: 129.7 kB / 420.2 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1801, allocations: 15.89 kB / 420.2 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.1803, allocations: 126.8 kB / 420.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1804, allocations: 8 kB / 420.3 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1804, allocations: 3.938 kB / 420.3 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1804, allocations: 0 / 420.3 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.1805, allocations: 205.5 kB / 420.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1805, allocations: 0 / 420.5 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1806, allocations: 8 kB / 420.5 MB, free: 17.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.1807, allocations: 36.77 kB / 420.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1807, allocations: 8 kB / 420.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006251/0.1813, allocations: 1.426 MB / 422 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1814, allocations: 0 / 422 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1816, allocations: 216.3 kB / 422.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.1816, allocations: 81.02 kB / 422.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1816, allocations: 12.06 kB / 422.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1817, allocations: 7.984 kB / 422.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.1817, allocations: 0 / 422.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1818, allocations: 4 kB / 422.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.1818, allocations: 118.2 kB / 422.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1818, allocations: 4 kB / 422.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1821, allocations: 24 kB / 422.5 MB, free: 15.46 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.0003606/0.1825, allocations: 0.7522 MB / 423.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1828, allocations: 206.6 kB / 423.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1828, allocations: 0 / 423.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1829, allocations: 150.6 kB / 423.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.1832, allocations: 16.12 kB / 423.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1845, allocations: 1.639 MB / 425.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.1846, allocations: 0.6924 MB / 425.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.851e-05/0.1846, allocations: 8.656 kB / 425.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1847, allocations: 19.44 kB / 425.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1847, allocations: 4 kB / 425.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4468/0.6315, allocations: 2.742 MB / 428.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/0.6317, allocations: 200.3 kB / 428.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.42, allocations: 0 / 428.9 MB, free: 8.934 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)