Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_AKD_System_AKD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.AKD.System.AKD,fileNamePrefix="OpenIPSL_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.002314/0.002314, allocations: 176.8 kB / 7.458 MB, free: 2.512 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.122/1.122, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009249/0.0009245, allocations: 92.92 kB / 280.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3779/0.3779, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1359/0.5138, allocations: 75.48 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.7708, allocations: 69.36 MB / 0.5408 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.8974, allocations: 117.7 MB / 0.6557 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.8976, allocations: 79.95 kB / 0.6558 GB, free: 0.7031 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.5896/1.487, allocations: 171.7 MB / 0.8235 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.487, allocations: 12 kB / 0.8235 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/1.494, allocations: 1.178 MB / 0.8246 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/1.504, allocations: 4.282 MB / 0.8288 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008036/1.505, allocations: 0.7563 MB / 0.8295 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/1.507, allocations: 247.7 kB / 0.8298 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008371/1.515, allocations: 3.696 MB / 0.8334 GB, free: 232 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009972/1.525, allocations: 3.75 MB / 0.8371 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/1.525, allocations: 7.906 kB / 0.8371 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007973/1.526, allocations: 8 kB / 0.8371 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.966e-05/1.526, allocations: 84 kB / 0.8372 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/1.568, allocations: 18.36 MB / 0.8551 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/1.575, allocations: 2.903 MB / 0.8579 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/1.578, allocations: 2.335 MB / 0.8602 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/1.579, allocations: 0.7781 MB / 0.861 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004744/1.584, allocations: 2.691 MB / 0.8636 GB, free: 316 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=384): time 7.825e-06/1.584, allocations: 0 / 0.8636 GB, free: 316 kB / 0.5261 GB Notification: Performance of matching and sorting (n=392): time 0.04538/1.629, allocations: 19.21 MB / 0.8823 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.63, allocations: 355.4 kB / 0.8827 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008002/1.638, allocations: 4.522 MB / 0.8871 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.639, allocations: 29.7 kB / 0.8871 GB, free: 7.938 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009224/1.64, allocations: 1.25 MB / 0.8883 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004377/1.644, allocations: 1.374 MB / 0.8897 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/1.644, allocations: 0 / 0.8897 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003102/1.645, allocations: 0.4974 MB / 0.8902 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004187/1.649, allocations: 2.482 MB / 0.8926 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004379/1.653, allocations: 2.883 MB / 0.8954 GB, free: 15.34 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005296/1.659, allocations: 2.767 MB / 0.8981 GB, free: 12.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.659, allocations: 0 / 0.8981 GB, free: 12.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01481/1.674, allocations: 7.742 MB / 0.9057 GB, free: 4.711 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004249/1.674, allocations: 1.443 MB / 0.9071 GB, free: 3.191 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/1.674, allocations: 4 kB / 0.9071 GB, free: 3.188 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1929/1.867, allocations: 4.63 MB / 0.9116 GB, free: 149.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.873, allocations: 1.077 MB / 0.9127 GB, free: 149.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.884, allocations: 6.823 MB / 0.9193 GB, free: 148.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/1.893, allocations: 0.5447 MB / 0.9199 GB, free: 148.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.894, allocations: 173.4 kB / 0.92 GB, free: 148.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/1.894, allocations: 3.438 kB / 0.92 GB, free: 148.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/1.906, allocations: 6.974 MB / 0.9268 GB, free: 147.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.906, allocations: 6.75 kB / 0.9268 GB, free: 147.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01559/1.922, allocations: 4.613 MB / 0.9313 GB, free: 147.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.928, allocations: 1.052 MB / 0.9324 GB, free: 147.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.943, allocations: 9.135 MB / 0.9413 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00805/1.951, allocations: 446.8 kB / 0.9417 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.952, allocations: 177.2 kB / 0.9419 GB, free: 144.8 MB / 0.573 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.002127/1.954, allocations: 185.9 kB / 0.9421 GB, free: 144.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.956, allocations: 0.5769 MB / 0.9426 GB, free: 144.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02713/1.984, allocations: 10.41 MB / 0.9528 GB, free: 144.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/1.984, allocations: 37.66 kB / 0.9528 GB, free: 144.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.984, allocations: 6.922 kB / 0.9528 GB, free: 144.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/1.984, allocations: 20.81 kB / 0.9529 GB, free: 144.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03627/2.02, allocations: 16.98 MB / 0.9694 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/2.02, allocations: 0 / 0.9694 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/2.024, allocations: 0.5614 MB / 0.97 GB, free: 143.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/2.037, allocations: 3.774 MB / 0.9737 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009981/2.038, allocations: 68.67 kB / 0.9737 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03458/2.073, allocations: 20.82 MB / 0.9941 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/2.073, allocations: 5.281 kB / 0.9941 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03322/2.106, allocations: 13.92 MB / 1.008 GB, free: 131.6 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03601/2.142, allocations: 17.74 MB / 1.025 GB, free: 124 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/2.144, allocations: 0.796 MB / 1.026 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/2.147, allocations: 42.81 kB / 1.026 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006246/2.153, allocations: 401.8 kB / 1.026 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/2.154, allocations: 319.5 kB / 1.026 GB, free: 122.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003837/2.154, allocations: 107.8 kB / 1.027 GB, free: 122.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.00534/2.159, allocations: 3.317 MB / 1.03 GB, free: 119.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007582/2.167, allocations: 1.927 MB / 1.032 GB, free: 117.7 MB / 0.573 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.000673/2.168, allocations: 294.1 kB / 1.032 GB, free: 117.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02534/2.193, allocations: 12.36 MB / 1.044 GB, free: 106.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/2.193, allocations: 3.062 kB / 1.044 GB, free: 106.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009733/2.203, allocations: 4.464 MB / 1.048 GB, free: 102.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/2.208, allocations: 0.5288 MB / 1.049 GB, free: 101.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02467/2.233, allocations: 12.4 MB / 1.061 GB, free: 90.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004395/2.237, allocations: 4.13 MB / 1.065 GB, free: 87.51 MB / 0.573 GB Notification: Performance of SimCode: time 9.71e-07/2.238, allocations: 4 kB / 1.065 GB, free: 87.5 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_AKD_System_AKD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_AKD_System_AKD.fmu > OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)