Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.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: "" <> buildModelFMU(OpenIPSL.Examples.AKD.System.AKD,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_AKD_System_AKD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.AKD.System.AKD,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_AKD_System_AKD",fmuType="me",version="2.0",platforms={"static"}) [: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.002103/0.002103, allocations: 182.9 kB / 7.461 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.058/1.058, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.000802/0.000802, allocations: 99.94 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3631/0.3631, allocations: 78.11 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1135/0.4767, allocations: 75.49 MB / 484.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.6975, allocations: 69.34 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.8152, allocations: 117.7 MB / 0.6558 GB, free: 3.121 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.8154, allocations: 83.95 kB / 0.6558 GB, free: 3.039 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: 868 * Number of variables: 868 Notification: Performance of Generate backend data structure: time 0.538/1.353, allocations: 171.7 MB / 0.8235 GB, free: 396 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/1.354, allocations: 8 kB / 0.8235 GB, free: 388 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/1.359, allocations: 1.17 MB / 0.8247 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007774/1.366, allocations: 4.275 MB / 0.8288 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006754/1.367, allocations: 0.7563 MB / 0.8296 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006478/1.368, allocations: 247.7 kB / 0.8298 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006436/1.374, allocations: 3.7 MB / 0.8334 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006157/1.38, allocations: 3.746 MB / 0.8371 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-05/1.38, allocations: 15.89 kB / 0.8371 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/1.381, allocations: 0 / 0.8371 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.168e-05/1.381, allocations: 84 kB / 0.8372 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/1.412, allocations: 18.36 MB / 0.8551 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/1.417, allocations: 2.914 MB / 0.8579 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/1.42, allocations: 2.326 MB / 0.8602 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/1.42, allocations: 0.782 MB / 0.861 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/1.424, allocations: 2.691 MB / 0.8636 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=384): time 4.789e-06/1.424, allocations: 4 kB / 0.8636 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of matching and sorting (n=392): time 0.04116/1.465, allocations: 19.21 MB / 0.8824 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.465, allocations: 351.5 kB / 0.8827 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1665/1.632, allocations: 4.52 MB / 0.8871 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.633, allocations: 25.7 kB / 0.8871 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/1.634, allocations: 1.252 MB / 0.8884 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004086/1.638, allocations: 1.382 MB / 0.8897 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/1.638, allocations: 0 / 0.8897 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002425/1.639, allocations: 0.4935 MB / 0.8902 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.642, allocations: 2.481 MB / 0.8926 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00371/1.646, allocations: 2.884 MB / 0.8954 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/1.651, allocations: 2.765 MB / 0.8981 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.651, allocations: 3.875 kB / 0.8981 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01248/1.663, allocations: 7.739 MB / 0.9057 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/1.663, allocations: 1.442 MB / 0.9071 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/1.663, allocations: 3.656 kB / 0.9071 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/1.678, allocations: 4.639 MB / 0.9116 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.684, allocations: 1.071 MB / 0.9127 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/1.694, allocations: 6.82 MB / 0.9194 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/1.702, allocations: 0.5424 MB / 0.9199 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/1.703, allocations: 171.9 kB / 0.92 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/1.703, allocations: 3.688 kB / 0.92 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/1.714, allocations: 6.985 MB / 0.9269 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.714, allocations: 7.219 kB / 0.9269 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01438/1.728, allocations: 4.607 MB / 0.9314 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005278/1.734, allocations: 1.054 MB / 0.9324 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/1.746, allocations: 9.134 MB / 0.9413 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006933/1.753, allocations: 451.5 kB / 0.9418 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006021/1.754, allocations: 169.1 kB / 0.9419 GB, free: 125.1 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.gen58567.hYGOV.SimpleLag1.u:DUMMY_DER(fixed = false ) "Connector of Real input signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gen58566.hYGOV.Velocity_Limiter.u:VARIABLE() "Connector of Real input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,gen58566.iEEEST.and1.y,gen58567.iEEEST.and1.y,gen58567.iEEEST.booleanConstant.k,gen58567.iEEEST.bypass_filter2,gen58567.iEEEST.booleanConstant1.k,gen58567.iEEEST.bypass_filter1,gen58566.iEEEST.booleanConstant.k,gen58566.iEEEST.bypass_filter2,gen58566.iEEEST.booleanConstant1.k,gen58566.iEEEST.bypass_filter1,gen58566.iEEET2_1.rotatingExciter.sISO.local_reset,gen58566.hYGOV.Position_Limiter.local_reset,gen58566.hYGOV.q.local_reset,gen58567.iEEET2_1.rotatingExciter.sISO.local_reset,gen58567.hYGOV.Position_Limiter.local_reset,gen58567.hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 493 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,44 87} Notification: Performance of prepare postOptimizeDAE: time 0.0009027/1.755, allocations: 182.1 kB / 0.9421 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.756, allocations: 0.5737 MB / 0.9427 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02457/1.78, allocations: 10.4 MB / 0.9528 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.081e-05/1.78, allocations: 41 kB / 0.9528 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.78, allocations: 3.609 kB / 0.9529 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-05/1.78, allocations: 22.98 kB / 0.9529 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.815, allocations: 16.99 MB / 0.9695 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/1.815, allocations: 7.109 kB / 0.9695 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004133/1.819, allocations: 0.5618 MB / 0.97 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/1.831, allocations: 3.769 MB / 0.9737 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007223/1.831, allocations: 70.36 kB / 0.9738 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03193/1.863, allocations: 20.81 MB / 0.9941 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.863, allocations: 6.906 kB / 0.9941 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03015/1.894, allocations: 13.92 MB / 1.008 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03497/1.929, allocations: 17.74 MB / 1.025 GB, free: 86.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.931, allocations: 0.7954 MB / 1.026 GB, free: 85.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.933, allocations: 42.98 kB / 1.026 GB, free: 85.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006225/1.939, allocations: 404.3 kB / 1.026 GB, free: 85.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/1.94, allocations: 307.1 kB / 1.027 GB, free: 85.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007634/1.941, allocations: 114.9 kB / 1.027 GB, free: 85.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00608/1.947, allocations: 3.324 MB / 1.03 GB, free: 82.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008955/1.956, allocations: 1.932 MB / 1.032 GB, free: 80.38 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 70 (gen58553.gENSAL.w,gen58553.gENSAL.delta,gen58553.gENSAL.Epq,gen58553.gENSAL.PSIkd,gen58553.gENSAL.PSIppq,gen58583.gENSAL.w,gen58583.gENSAL.delta,gen58583.gENSAL.Epq,gen58583.gENSAL.PSIkd,gen58583.gENSAL.PSIppq,gen58567.gENSAL.w,gen58567.gENSAL.delta,gen58567.gENSAL.Epq,gen58567.gENSAL.PSIkd,gen58567.gENSAL.PSIppq,gen58567.hYGOV.SimpleLag1.state,gen58567.hYGOV.q.y,gen58567.hYGOV.g.state,gen58567.hYGOV.Position_Limiter.y,gen58567.iEEET2_1.simpleLag.state,gen58567.iEEET2_1.derivativeLag.x,gen58567.iEEET2_1.simpleLagLim.state,gen58567.iEEET2_1.rotatingExciter.sISO.y,gen58567.iEEET2_1.TransducerDelay.state,gen58567.iEEEST.Filter1_1.x_scaled[1],gen58567.iEEEST.T_1_T_2.TF.x_scaled[1],gen58567.iEEEST.T_3_T_4.TF.x_scaled[1],gen58567.iEEEST.imDerivativeLag.x,gen58567.iEEEST.Filter2_1.x_scaled[1],gen58567.iEEEST.Filter2_1.x_scaled[2],gen58567.iEEEST.Filter2_1.x_scaled[3],gen58567.iEEEST.Filter1_2.x_scaled[1],gen58567.iEEEST.Filter2_2.x_scaled[1],gen58567.iEEEST.Filter2_2.x_scaled[2],gen58567.iEEEST.Filter2_2.x_scaled[3],gen58573.gENSAL.w,gen58573.gENSAL.delta,gen58573.gENSAL.Epq,gen58573.gENSAL.PSIkd,gen58573.gENSAL.PSIppq,gen58653.gENSAL.w,gen58653.gENSAL.delta,gen58653.gENSAL.Epq,gen58653.gENSAL.PSIkd,gen58653.gENSAL.PSIppq,gen58566.gENSAL.w,gen58566.gENSAL.delta,gen58566.gENSAL.Epq,gen58566.gENSAL.PSIkd,gen58566.gENSAL.PSIppq,gen58566.hYGOV.SimpleLag1.state,gen58566.hYGOV.q.y,gen58566.hYGOV.g.state,gen58566.hYGOV.Position_Limiter.y,gen58566.iEEET2_1.simpleLag.state,gen58566.iEEET2_1.derivativeLag.x,gen58566.iEEET2_1.simpleLagLim.state,gen58566.iEEET2_1.rotatingExciter.sISO.y,gen58566.iEEET2_1.TransducerDelay.state,gen58566.iEEEST.Filter1_1.x_scaled[1],gen58566.iEEEST.T_1_T_2.TF.x_scaled[1],gen58566.iEEEST.T_3_T_4.TF.x_scaled[1],gen58566.iEEEST.imDerivativeLag.x,gen58566.iEEEST.Filter2_1.x_scaled[1],gen58566.iEEEST.Filter2_1.x_scaled[2],gen58566.iEEEST.Filter2_1.x_scaled[3],gen58566.iEEEST.Filter1_2.x_scaled[1],gen58566.iEEEST.Filter2_2.x_scaled[1],gen58566.iEEEST.Filter2_2.x_scaled[2],gen58566.iEEEST.Filter2_2.x_scaled[3]) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 281 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 6,1 3,1 3,1 6,32 75} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008255/1.957, allocations: 282.4 kB / 1.032 GB, free: 80.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02436/1.981, allocations: 12.37 MB / 1.044 GB, free: 68.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.981, allocations: 0 / 1.044 GB, free: 68.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009328/1.991, allocations: 4.476 MB / 1.048 GB, free: 64.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.995, allocations: 0.5244 MB / 1.049 GB, free: 64.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/2.024, allocations: 12.39 MB / 1.061 GB, free: 53.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004983/2.029, allocations: 4.128 MB / 1.065 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/2.029, allocations: 0 / 1.065 GB, free: 50.22 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_AKD_System_AKD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_AKD_System_AKD.fmu > OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)