Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo", uses=false) Using package ObjectStab with version 1.1 Dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001624/0.001625, allocations: 181.9 kB / 7.454 MB, free: 1.559 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.159/1.159, allocations: 170.6 MB / 178.4 MB, free: 3.945 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001618/0.001618, allocations: 107.9 kB / 217.7 MB, free: 12.69 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.03898/0.03898, allocations: 6.819 MB / 263.6 MB, free: 15.27 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.527e-06, allocations: 0 / 310.1 MB, free: 0.7578 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2095, allocations: 40.42 MB / 350.5 MB, free: 29.49 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0845/0.2941, allocations: 69.83 MB / 420.3 MB, free: 7.555 MB / 290.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.2943, allocations: 71.95 kB / 420.4 MB, free: 7.484 MB / 290.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd: time 0.06207/0.3564, allocations: 19.56 MB / 440 MB, free: 3.77 MB / 306.8 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.3565, allocations: 27.94 kB / 440 MB, free: 3.742 MB / 306.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005375/0.3618, allocations: 1.67 MB / 441.6 MB, free: 2.023 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3619, allocations: 8.031 kB / 441.7 MB, free: 2.016 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006937/0.3626, allocations: 138.3 kB / 441.8 MB, free: 1.879 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.364, allocations: 0.5858 MB / 442.4 MB, free: 1.254 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.3642, allocations: 173.4 kB / 442.5 MB, free: 1.059 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.3646, allocations: 76 kB / 442.6 MB, free: 0.9844 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1342/0.4988, allocations: 1.384 MB / 444 MB, free: 103.6 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.5015, allocations: 1.136 MB / 445.1 MB, free: 103.5 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.5016, allocations: 2.562 kB / 445.1 MB, free: 103.5 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.5017, allocations: 0 / 445.1 MB, free: 103.5 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.5018, allocations: 33.81 kB / 445.2 MB, free: 103.5 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009915/0.5117, allocations: 4.799 MB / 450 MB, free: 102.9 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.5144, allocations: 1.328 MB / 451.3 MB, free: 102.8 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5156, allocations: 0.7795 MB / 452.1 MB, free: 102.8 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.5158, allocations: 32.75 kB / 452.1 MB, free: 102.8 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.517, allocations: 0.7932 MB / 452.9 MB, free: 102.8 MB / 306.8 MB Notification: Performance of pre-optimization done (n=159): time 4.668e-06/0.517, allocations: 0 / 452.9 MB, free: 102.8 MB / 306.8 MB Notification: Performance of matching and sorting (n=159): time 0.01747/0.5344, allocations: 3.835 MB / 456.7 MB, free: 102.4 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.5345, allocations: 72.12 kB / 456.8 MB, free: 102.3 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/0.5351, allocations: 324.5 kB / 457.1 MB, free: 102.1 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003946/0.5355, allocations: 25.7 kB / 457.2 MB, free: 102.1 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.5357, allocations: 390.3 kB / 457.5 MB, free: 101.9 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000669/0.5364, allocations: 0.4908 MB / 458 MB, free: 101.5 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.5366, allocations: 0 / 458 MB, free: 101.5 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5368, allocations: 398 kB / 458.4 MB, free: 101.2 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.5379, allocations: 0.5542 MB / 459 MB, free: 100.9 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.539, allocations: 0.7632 MB / 459.7 MB, free: 100.4 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.5402, allocations: 0.6363 MB / 460.4 MB, free: 100.1 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5402, allocations: 0.8125 kB / 460.4 MB, free: 100.1 MB / 306.8 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01915/0.5594, allocations: 4.035 MB / 464.4 MB, free: 99.12 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.5595, allocations: 5.344 kB / 464.4 MB, free: 99.12 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.5595, allocations: 5.406 kB / 464.4 MB, free: 99.12 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02227/0.5818, allocations: 3.597 MB / 468 MB, free: 98.62 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/0.5828, allocations: 143.7 kB / 468.2 MB, free: 98.62 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03117/0.614, allocations: 10.72 MB / 478.9 MB, free: 90.27 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.6157, allocations: 101.6 kB / 479 MB, free: 90.17 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/0.6161, allocations: 55 kB / 479 MB, free: 90.12 MB / 306.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: L78_1.T2.vb:VARIABLE(flow=false unit = "1" ) type: Real L78_2.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real L9.T.va:VARIABLE(flow=false unit = "1" ) type: Real L1011.T2.va:VARIABLE(flow=false unit = "1" ) type: Real T311.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T311.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real PV_4.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_4.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L7.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L56.T2.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.va:VARIABLE(flow=false unit = "1" ) type: Real PV_1.T.vb:VARIABLE(flow=false unit = "1" ) type: Real L9.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real L7.V:VARIABLE(unit = "1" ) "Voltage Amplitude" type: Real T410.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T410.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real T26.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ib:VARIABLE(flow=true unit = "1" ) type: Real T15.T1.ia:VARIABLE(flow=true unit = "1" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 76} Notification: Performance of prepare postOptimizeDAE: time 0.0007374/0.6169, allocations: 159.1 kB / 479.2 MB, free: 89.98 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.6172, allocations: 86.97 kB / 479.3 MB, free: 89.9 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/0.6351, allocations: 4.069 MB / 483.3 MB, free: 85.88 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/0.6352, allocations: 12 kB / 483.3 MB, free: 85.87 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.6353, allocations: 3.75 kB / 483.4 MB, free: 85.87 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/0.6353, allocations: 11.97 kB / 483.4 MB, free: 85.86 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/0.6572, allocations: 5.47 MB / 488.8 MB, free: 80.39 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/0.6573, allocations: 0 / 488.8 MB, free: 80.39 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.6579, allocations: 103.6 kB / 488.9 MB, free: 80.3 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/0.677, allocations: 3.5 MB / 492.4 MB, free: 76.8 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004504/0.6775, allocations: 11.89 kB / 492.4 MB, free: 76.79 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02463/0.7021, allocations: 10.01 MB / 0.4907 GB, free: 66.68 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.7022, allocations: 0 / 0.4907 GB, free: 66.68 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01765/0.7199, allocations: 3.98 MB / 0.4946 GB, free: 62.71 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.7202, allocations: 167.8 kB / 0.4947 GB, free: 62.52 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.7208, allocations: 0 / 0.4947 GB, free: 62.52 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.7222, allocations: 35.83 kB / 0.4948 GB, free: 62.49 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.7226, allocations: 81.17 kB / 0.4948 GB, free: 62.41 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/0.7229, allocations: 36 kB / 0.4949 GB, free: 62.38 MB / 306.8 MB Notification: Performance of sort global known variables: time 0.0002998/0.7232, allocations: 247.2 kB / 0.4951 GB, free: 62.14 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.002724/0.726, allocations: 0.5069 MB / 0.4956 GB, free: 61.63 MB / 306.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003649/0.7263, allocations: 106.1 kB / 0.4957 GB, free: 61.52 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.7321, allocations: 2.108 MB / 0.4978 GB, free: 59.4 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7322, allocations: 0 / 0.4978 GB, free: 59.4 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004193/0.7364, allocations: 1.409 MB / 0.4991 GB, free: 57.98 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.7374, allocations: 127.1 kB / 0.4993 GB, free: 57.87 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.7428, allocations: 1.737 MB / 0.501 GB, free: 56.12 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.7436, allocations: 1.136 MB / 0.5021 GB, free: 54.96 MB / 306.8 MB Notification: Performance of SimCode: time 1.012e-06/0.7436, allocations: 0 / 0.5021 GB, free: 54.96 MB / 306.8 MB Notification: Performance of Templates: time 0.04903/0.7926, allocations: 37.47 MB / 0.5387 GB, free: 17.88 MB / 306.8 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe 2>&1)