Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01711/0.01711, allocations: 4.226 MB / 264.5 MB, free: 8.816 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") translateModel(PhotoVoltaics.Examples.SimpleModulePolyphase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 282.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.53e-05, allocations: 2.312 kB / 282.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModulePolyphase): time 0.00672/0.006745, allocations: 6.593 MB / 288.8 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1384/0.1452, allocations: 2.483 MB / 291.3 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1462, allocations: 56.72 kB / 291.3 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1473, allocations: 467.1 kB / 291.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.149, allocations: 0.4978 MB / 292.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.15, allocations: 453.6 kB / 292.7 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002509/0.1525, allocations: 2.273 MB / 295 MB, free: 17.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.1543, allocations: 1.4 MB / 296.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.1569, allocations: 1.827 MB / 298.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.1587, allocations: 1.169 MB / 299.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007118/0.1594, allocations: 300.8 kB / 299.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.16, allocations: 337.5 kB / 300 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005025/0.1605, allocations: 0.74 MB / 300.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.1617, allocations: 0.8496 MB / 301.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.1641, allocations: 2.069 MB / 303.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1641, allocations: 0 / 303.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1641, allocations: 0.625 kB / 303.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.454e-05/0.1642, allocations: 0 / 303.7 MB, free: 14.09 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.002944/0.1672, allocations: 2.499 MB / 306.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1672, allocations: 11.03 kB / 306.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005934/0.1678, allocations: 363.9 kB / 306.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.169, allocations: 0.9677 MB / 307.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.169, allocations: 159 kB / 307.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.1692, allocations: 202.9 kB / 307.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.1706, allocations: 1.565 MB / 309.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.1706, allocations: 7.938 kB / 309.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1707, allocations: 80 kB / 309.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.1708, allocations: 88.03 kB / 309.6 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.1715, allocations: 0.6247 MB / 310.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004682/0.1762, allocations: 5.102 MB / 315.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.1767, allocations: 446.3 kB / 315.8 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1769, allocations: 184.7 kB / 315.9 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.1769, allocations: 20.48 kB / 316 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.1771, allocations: 299 kB / 316.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.1771, allocations: 0 / 316.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009458/0.1781, allocations: 0.6513 MB / 316.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.1781, allocations: 141.2 kB / 317 MB, free: 2.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.1785, allocations: 0.7773 MB / 317.8 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.1786, allocations: 41.7 kB / 317.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.1788, allocations: 0.8507 MB / 318.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.653e-05/0.1789, allocations: 238 kB / 318.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1791, allocations: 186.5 kB / 319.1 MB, free: 420 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.1791, allocations: 345.9 kB / 319.5 MB, free: 68 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.1793, allocations: 149.3 kB / 319.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.1796, allocations: 441.2 kB / 320 MB, free: 15.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.1801, allocations: 0.6324 MB / 320.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.1801, allocations: 4 kB / 320.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007652/0.1809, allocations: 0.6645 MB / 321.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.1809, allocations: 43.88 kB / 321.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1809, allocations: 8 kB / 321.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.1811, allocations: 88.66 kB / 321.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.1815, allocations: 216.7 kB / 321.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007646/0.1823, allocations: 1.353 MB / 323 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1827, allocations: 115.4 kB / 323.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.1827, allocations: 35.98 kB / 323.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000391/0.1831, allocations: 245.4 kB / 323.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003063/0.1834, allocations: 445.1 kB / 323.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000573/0.184, allocations: 0.6276 MB / 324.5 MB, free: 10.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.375e-06/0.184, allocations: 4 kB / 324.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.000803/0.1848, allocations: 0.6687 MB / 325.2 MB, free: 9.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1849, allocations: 33.7 kB / 325.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1849, allocations: 8 kB / 325.2 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.1851, allocations: 88.97 kB / 325.3 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.1856, allocations: 215.7 kB / 325.5 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008098/0.1864, allocations: 1.365 MB / 326.9 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.1868, allocations: 95.5 kB / 327 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.1869, allocations: 41.06 kB / 327 MB, free: 7.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,converter.integrator.local_reset,converter.integratorOmega.local_reset,mpTracker.vRef,$PRE.mpTracker.vRef) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.1871, allocations: 279.1 kB / 327.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1873, allocations: 83.92 kB / 327.3 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.188, allocations: 0.5756 MB / 327.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1881, allocations: 8 kB / 327.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1881, allocations: 0 / 327.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.1881, allocations: 7.922 kB / 327.9 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.1904, allocations: 1.42 MB / 329.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1904, allocations: 0 / 329.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.1907, allocations: 107.8 kB / 329.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/0.191, allocations: 254.8 kB / 329.7 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.321e-05/0.191, allocations: 19.98 kB / 329.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004828/0.1915, allocations: 0.723 MB / 330.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1915, allocations: 0 / 330.5 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009082/0.1924, allocations: 0.8234 MB / 331.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.1927, allocations: 123.1 kB / 331.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.1928, allocations: 23.98 kB / 331.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.1931, allocations: 47.94 kB / 331.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.1932, allocations: 40.58 kB / 331.5 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.1932, allocations: 15.98 kB / 331.5 MB, free: 3.016 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000405/0.1936, allocations: 380.8 kB / 331.9 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 3.938 kB / 331.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001603/0.1952, allocations: 0.8636 MB / 332.8 MB, free: 1.762 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002528/0.1954, allocations: 119 kB / 332.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.197, allocations: 1.196 MB / 334.1 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.388e-05/0.197, allocations: 12.5 kB / 334.1 MB, free: 360 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.1973, allocations: 290.9 kB / 334.4 MB, free: 48 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.1981, allocations: 266.7 kB / 334.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.2028, allocations: 2.971 MB / 337.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.2032, allocations: 429.9 kB / 338 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005048/0.2037, allocations: 152.2 kB / 338.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.2041, allocations: 281.1 kB / 338.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.753e-06/0.2041, allocations: 0 / 338.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Templates: time 0.0221/0.2262, allocations: 15.41 MB / 353.9 MB, free: 12.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 243.08911638893187]