Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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) Running command: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") [: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 4.0.0+maint.om/package.mo): time 0.002588/0.002588, allocations: 180.5 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.043/1.043, allocations: 221.4 MB / 229.3 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008439/0.0008439, allocations: 97.84 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.367/0.367, allocations: 78.1 MB / 409 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.599e-06/4.619e-06, allocations: 0 / 484.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2462, allocations: 69.34 MB / 0.5408 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3467, allocations: 96.12 MB / 0.6346 GB, free: 8.82 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.3469, allocations: 75.95 kB / 0.6347 GB, free: 8.746 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05413/0.4011, allocations: 20.92 MB / 0.6551 GB, free: 3.672 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.47e-05/0.4012, allocations: 16 kB / 0.6551 GB, free: 3.656 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00396/0.4051, allocations: 1.515 MB / 0.6566 GB, free: 2.094 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.4052, allocations: 11.97 kB / 0.6566 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/0.4082, allocations: 494 kB / 0.6571 GB, free: 1.594 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4093, allocations: 0.5848 MB / 0.6577 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4095, allocations: 164.1 kB / 0.6578 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.4097, allocations: 36 kB / 0.6579 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/0.411, allocations: 0.7133 MB / 0.6586 GB, free: 32 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.4122, allocations: 0.6404 MB / 0.6592 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4122, allocations: 4 kB / 0.6592 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.001e-05/0.4123, allocations: 0 / 0.6592 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4123, allocations: 19.84 kB / 0.6592 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.4165, allocations: 2.423 MB / 0.6616 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4175, allocations: 0.6059 MB / 0.6622 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.4182, allocations: 491.2 kB / 0.6626 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/0.4183, allocations: 16.75 kB / 0.6626 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4183, allocations: 51.28 kB / 0.6627 GB, free: 11.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 1.934e-06/0.4184, allocations: 0 / 0.6627 GB, free: 11.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01109/0.4294, allocations: 3.667 MB / 0.6663 GB, free: 7.996 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4295, allocations: 60.19 kB / 0.6663 GB, free: 7.926 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.4304, allocations: 0.5789 MB / 0.6669 GB, free: 7.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.4305, allocations: 25.7 kB / 0.6669 GB, free: 7.309 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.4307, allocations: 256.7 kB / 0.6672 GB, free: 7.055 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.4311, allocations: 279.8 kB / 0.6674 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.4311, allocations: 0 / 0.6674 GB, free: 6.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4312, allocations: 345.8 kB / 0.6678 GB, free: 6.434 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.4319, allocations: 381.5 kB / 0.6681 GB, free: 6.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/0.4326, allocations: 461.8 kB / 0.6686 GB, free: 5.586 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.4333, allocations: 422 kB / 0.669 GB, free: 5.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4334, allocations: 4 kB / 0.669 GB, free: 5.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01133/0.4447, allocations: 3.721 MB / 0.6726 GB, free: 1.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4447, allocations: 4 kB / 0.6726 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4447, allocations: 0 / 0.6726 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1374/0.5821, allocations: 1.529 MB / 0.6741 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/0.5828, allocations: 127.3 kB / 0.6742 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.5941, allocations: 6.08 MB / 0.6802 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.5951, allocations: 153.8 kB / 0.6803 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.5952, allocations: 37.47 kB / 0.6803 GB, free: 143.1 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.5953, allocations: 114.5 kB / 0.6805 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5955, allocations: 95.06 kB / 0.6805 GB, free: 143 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009894/0.6054, allocations: 3.743 MB / 0.6842 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6054, allocations: 13.69 kB / 0.6842 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6054, allocations: 0 / 0.6842 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6054, allocations: 3.844 kB / 0.6842 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.6168, allocations: 5.009 MB / 0.6891 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6168, allocations: 0 / 0.6891 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.6174, allocations: 106.2 kB / 0.6892 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004743/0.6221, allocations: 1.511 MB / 0.6907 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/0.6222, allocations: 8.609 kB / 0.6907 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009948/0.6322, allocations: 5.29 MB / 0.6959 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6322, allocations: 0 / 0.6959 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0114/0.6436, allocations: 4.403 MB / 0.7002 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.6439, allocations: 188.2 kB / 0.7003 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.6441, allocations: 5.375 kB / 0.7003 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/0.645, allocations: 115.2 kB / 0.7005 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.6453, allocations: 98.55 kB / 0.7006 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.6454, allocations: 23.53 kB / 0.7006 GB, free: 140.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005123/0.6459, allocations: 463.9 kB / 0.701 GB, free: 140.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009674/0.6469, allocations: 323.9 kB / 0.7013 GB, free: 140.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002391/0.6471, allocations: 134.8 kB / 0.7015 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003821/0.6509, allocations: 1.667 MB / 0.7031 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.651, allocations: 2.719 kB / 0.7031 GB, free: 139.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.654, allocations: 1.217 MB / 0.7043 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.6544, allocations: 61.69 kB / 0.7043 GB, free: 139.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.6572, allocations: 1.304 MB / 0.7056 GB, free: 139.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.6577, allocations: 1.075 MB / 0.7067 GB, free: 138.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6577, allocations: 2.625 kB / 0.7067 GB, free: 138.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02057/0.6783, allocations: 17.32 MB / 0.7236 GB, free: 137.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)