Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_AKD_System_AKD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.AKD.System.AKD,fileNamePrefix="OpenIPSL_dev_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.00183/0.001831, allocations: 183.2 kB / 7.459 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.114/1.114, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0009503/0.0009503, allocations: 98.42 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3951/0.3951, allocations: 78.91 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1207/0.5158, allocations: 75.65 MB / 485.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.7649, allocations: 69.5 MB / 0.5419 GB, free: 20.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.8962, allocations: 118.5 MB / 0.6576 GB, free: 1.285 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.8966, allocations: 83.94 kB / 0.6577 GB, free: 1.203 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.5844/1.481, allocations: 160.5 MB / 0.8144 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.481, allocations: 12 kB / 0.8144 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/1.488, allocations: 1.17 MB / 0.8156 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.5, allocations: 4.294 MB / 0.8198 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009445/1.501, allocations: 0.7563 MB / 0.8205 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/1.503, allocations: 247.6 kB / 0.8207 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009365/1.512, allocations: 3.704 MB / 0.8244 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/1.522, allocations: 3.746 MB / 0.828 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/1.522, allocations: 11.89 kB / 0.828 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006602/1.523, allocations: 4 kB / 0.828 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.941e-05/1.523, allocations: 83.94 kB / 0.8281 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/1.561, allocations: 18.36 MB / 0.846 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006441/1.567, allocations: 2.9 MB / 0.8489 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004673/1.572, allocations: 2.331 MB / 0.8511 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.573, allocations: 0.7781 MB / 0.8519 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005496/1.579, allocations: 2.691 MB / 0.8545 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=384): time 8.677e-06/1.579, allocations: 0 / 0.8545 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=392): time 0.05025/1.629, allocations: 19.23 MB / 0.8733 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/1.629, allocations: 351.5 kB / 0.8737 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009671/1.639, allocations: 4.522 MB / 0.8781 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008988/1.64, allocations: 29.7 kB / 0.8781 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.641, allocations: 1.25 MB / 0.8793 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003926/1.645, allocations: 1.378 MB / 0.8807 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/1.645, allocations: 0 / 0.8807 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002686/1.645, allocations: 0.4972 MB / 0.8811 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/1.649, allocations: 2.482 MB / 0.8836 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1866/1.836, allocations: 2.883 MB / 0.8864 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005589/1.842, allocations: 2.778 MB / 0.8891 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.842, allocations: 0 / 0.8891 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.0145/1.856, allocations: 7.746 MB / 0.8967 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002265/1.856, allocations: 1.438 MB / 0.8981 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/1.856, allocations: 7.719 kB / 0.8981 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/1.872, allocations: 4.638 MB / 0.9026 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/1.878, allocations: 1.064 MB / 0.9036 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.889, allocations: 6.828 MB / 0.9103 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008279/1.897, allocations: 0.5434 MB / 0.9108 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009811/1.898, allocations: 172.9 kB / 0.911 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.898, allocations: 3.656 kB / 0.911 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01196/1.91, allocations: 6.986 MB / 0.9178 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.91, allocations: 8.188 kB / 0.9178 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01497/1.925, allocations: 4.606 MB / 0.9223 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00577/1.931, allocations: 1.061 MB / 0.9234 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.945, allocations: 9.132 MB / 0.9323 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/1.953, allocations: 449.6 kB / 0.9327 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.954, allocations: 171.9 kB / 0.9329 GB, free: 127.2 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.001849/1.956, allocations: 188.9 kB / 0.9331 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/1.958, allocations: 0.5784 MB / 0.9336 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02819/1.986, allocations: 10.41 MB / 0.9438 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.004e-05/1.986, allocations: 39.53 kB / 0.9438 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.986, allocations: 5.062 kB / 0.9438 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/1.986, allocations: 22.56 kB / 0.9439 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/2.028, allocations: 17 MB / 0.9605 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/2.028, allocations: 2.5 kB / 0.9605 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004568/2.033, allocations: 0.5622 MB / 0.961 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/2.046, allocations: 3.76 MB / 0.9647 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/2.047, allocations: 63.61 kB / 0.9647 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03479/2.082, allocations: 20.82 MB / 0.9851 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/2.082, allocations: 2.938 kB / 0.9851 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03514/2.117, allocations: 13.93 MB / 0.9987 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03841/2.155, allocations: 17.75 MB / 1.016 GB, free: 93.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/2.158, allocations: 0.789 MB / 1.017 GB, free: 93.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/2.16, allocations: 35.56 kB / 1.017 GB, free: 93.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006291/2.166, allocations: 408.3 kB / 1.017 GB, free: 92.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.167, allocations: 309.8 kB / 1.018 GB, free: 92.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006126/2.168, allocations: 110.7 kB / 1.018 GB, free: 92.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.006602/2.175, allocations: 3.33 MB / 1.021 GB, free: 89.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01039/2.185, allocations: 1.931 MB / 1.023 GB, free: 87.66 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.0009761/2.186, allocations: 291.6 kB / 1.023 GB, free: 87.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0279/2.214, allocations: 12.37 MB / 1.035 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/2.214, allocations: 4 kB / 1.035 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/2.224, allocations: 4.458 MB / 1.039 GB, free: 72.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/2.23, allocations: 0.5334 MB / 1.04 GB, free: 71.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/2.265, allocations: 12.39 MB / 1.052 GB, free: 60.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007559/2.273, allocations: 4.132 MB / 1.056 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of SimCode: time 7.92e-07/2.273, allocations: 0 / 1.056 GB, free: 57.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_AKD_System_AKD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_AKD_System_AKD.fmu > OpenIPSL_dev_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)