Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002387/0.002387, allocations: 188.2 kB / 7.803 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.2 MB / 213.4 MB, free: 13.9 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 93.33 kB / 261.4 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2631/0.2631, allocations: 37.98 MB / 347.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.125e-06, allocations: 0 / 409.3 MB, free: 47.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09661, allocations: 56.32 MB / 465.6 MB, free: 6.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4469, allocations: 103.7 MB / 0.556 GB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.4473, allocations: 91.94 kB / 0.5561 GB, free: 7.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08024/0.5275, allocations: 17.15 MB / 0.5728 GB, free: 5.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-05/0.5276, allocations: 16 kB / 0.5728 GB, free: 5.688 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003964/0.5316, allocations: 1.148 MB / 0.5739 GB, free: 4.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5317, allocations: 12.03 kB / 0.574 GB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.532, allocations: 94.97 kB / 0.574 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006595/0.5386, allocations: 1.332 MB / 0.5753 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008318/0.5395, allocations: 338.8 kB / 0.5757 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.5399, allocations: 43.98 kB / 0.5757 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003005/0.5429, allocations: 0.8928 MB / 0.5766 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.5456, allocations: 0.9261 MB / 0.5775 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5457, allocations: 0 / 0.5775 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.5459, allocations: 0 / 0.5775 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.5459, allocations: 16 kB / 0.5775 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01031/0.5562, allocations: 3.473 MB / 0.5809 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.5584, allocations: 0.7008 MB / 0.5816 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.5601, allocations: 0.5458 MB / 0.5821 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-05/0.5602, allocations: 8.5 kB / 0.5821 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.5615, allocations: 0.5232 MB / 0.5826 GB, free: 11.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 4.148e-06/0.5616, allocations: 4 kB / 0.5826 GB, free: 11.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.01688/0.5784, allocations: 3.496 MB / 0.586 GB, free: 7.754 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.5786, allocations: 89.61 kB / 0.5861 GB, free: 7.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.5793, allocations: 341.1 kB / 0.5865 GB, free: 7.316 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002189/0.5795, allocations: 29.7 kB / 0.5865 GB, free: 7.281 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.5798, allocations: 314.5 kB / 0.5868 GB, free: 6.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.5801, allocations: 197.1 kB / 0.587 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.5802, allocations: 0 / 0.587 GB, free: 6.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5804, allocations: 338.8 kB / 0.5873 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5815, allocations: 389.3 kB / 0.5877 GB, free: 6.055 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5827, allocations: 0.5024 MB / 0.5882 GB, free: 5.508 MB / 426.7 MB Error: The given system is mixed-determined. [index > 3] Please checkout the option "+maxMixedDeterminedIndex". Error: No system for the symbolic initialization was generated