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: translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD") translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD") [: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.001691/0.001691, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.015/1.015, allocations: 221.4 MB / 229.3 MB, free: 3.094 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.0008481/0.0008481, allocations: 102.6 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3484/0.3484, allocations: 78.1 MB / 409 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.548e-06/4.649e-06, allocations: 0 / 484.4 MB, free: 4.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 69.34 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3189, allocations: 117.7 MB / 0.6557 GB, free: 3.164 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.3191, allocations: 75.95 kB / 0.6557 GB, free: 3.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5044/0.8235, allocations: 165.6 MB / 0.8174 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005989/0.8242, allocations: 135.9 kB / 0.8175 GB, free: 6.469 MB / 0.4948 GB 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.01614/0.8403, allocations: 6.018 MB / 0.8234 GB, free: 376 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.8404, allocations: 8.031 kB / 0.8234 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005817/0.8462, allocations: 1.174 MB / 0.8246 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009351/0.8556, allocations: 4.282 MB / 0.8288 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008055/0.8564, allocations: 0.7563 MB / 0.8295 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.8575, allocations: 247.7 kB / 0.8297 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007329/0.8648, allocations: 3.7 MB / 0.8333 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006948/0.8718, allocations: 3.746 MB / 0.837 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.033e-05/0.8719, allocations: 15.84 kB / 0.837 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/0.8722, allocations: 0 / 0.837 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.999e-05/0.8723, allocations: 84 kB / 0.8371 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03073/0.903, allocations: 18.36 MB / 0.855 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/0.908, allocations: 2.902 MB / 0.8579 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.9111, allocations: 2.331 MB / 0.8601 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006551/0.9118, allocations: 0.7742 MB / 0.8609 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00385/0.9157, allocations: 2.699 MB / 0.8635 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=384): time 5.55e-06/0.9157, allocations: 0 / 0.8635 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of matching and sorting (n=392): time 0.04144/0.9571, allocations: 19.21 MB / 0.8823 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.9573, allocations: 351.5 kB / 0.8826 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.147/1.104, allocations: 4.517 MB / 0.887 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008498/1.105, allocations: 29.64 kB / 0.8871 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/1.106, allocations: 1.245 MB / 0.8883 GB, free: 135 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003257/1.109, allocations: 1.374 MB / 0.8896 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/1.109, allocations: 3.969 kB / 0.8896 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.11, allocations: 0.4972 MB / 0.8901 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/1.113, allocations: 2.48 MB / 0.8925 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/1.116, allocations: 2.885 MB / 0.8953 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/1.12, allocations: 2.775 MB / 0.8981 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.12, allocations: 0 / 0.8981 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01144/1.132, allocations: 7.738 MB / 0.9056 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.132, allocations: 1.441 MB / 0.907 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.132, allocations: 8.641 kB / 0.907 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01402/1.146, allocations: 4.634 MB / 0.9116 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/1.151, allocations: 1.068 MB / 0.9126 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/1.161, allocations: 6.826 MB / 0.9193 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00649/1.167, allocations: 0.549 MB / 0.9198 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/1.167, allocations: 172.6 kB / 0.92 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/1.167, allocations: 3.438 kB / 0.92 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/1.178, allocations: 6.972 MB / 0.9268 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.178, allocations: 10.53 kB / 0.9268 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/1.192, allocations: 4.603 MB / 0.9313 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/1.196, allocations: 1.059 MB / 0.9323 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.208, allocations: 9.135 MB / 0.9412 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006152/1.215, allocations: 455.9 kB / 0.9417 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004125/1.215, allocations: 170.4 kB / 0.9418 GB, free: 126.9 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.0008192/1.216, allocations: 171.3 kB / 0.942 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/1.217, allocations: 0.5697 MB / 0.9426 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02452/1.241, allocations: 10.41 MB / 0.9527 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/1.241, allocations: 39.66 kB / 0.9528 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.242, allocations: 7.703 kB / 0.9528 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.6e-05/1.242, allocations: 18.98 kB / 0.9528 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/1.275, allocations: 16.99 MB / 0.9694 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.275, allocations: 3.719 kB / 0.9694 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003495/1.278, allocations: 0.5629 MB / 0.9699 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/1.29, allocations: 3.763 MB / 0.9736 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006832/1.29, allocations: 73.08 kB / 0.9737 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0306/1.321, allocations: 20.81 MB / 0.994 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.321, allocations: 2.312 kB / 0.994 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02863/1.35, allocations: 13.92 MB / 1.008 GB, free: 103.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.351, allocations: 0.804 MB / 1.008 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.353, allocations: 39.84 kB / 1.008 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005083/1.358, allocations: 401.7 kB / 1.009 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006567/1.359, allocations: 315.4 kB / 1.009 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/1.359, allocations: 107.2 kB / 1.009 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004897/1.364, allocations: 3.322 MB / 1.012 GB, free: 99.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005252/1.369, allocations: 1.903 MB / 1.014 GB, free: 97.55 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.0006083/1.37, allocations: 297.2 kB / 1.015 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02289/1.393, allocations: 12.36 MB / 1.027 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.393, allocations: 0 / 1.027 GB, free: 86.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/1.401, allocations: 4.472 MB / 1.031 GB, free: 82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/1.404, allocations: 0.5348 MB / 1.032 GB, free: 81.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02121/1.425, allocations: 12.29 MB / 1.044 GB, free: 70.69 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003679/1.429, allocations: 3.526 MB / 1.047 GB, free: 68.06 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/1.429, allocations: 0 / 1.047 GB, free: 68.06 MB / 0.5573 GB Notification: Performance of Templates: time 0.2891/1.718, allocations: 117.9 MB / 1.162 GB, free: 110.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.makefile (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 & ./OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)