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: translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.AKD.System.AKD") translateModel(OpenIPSL.Examples.AKD.System.AKD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003518/0.003518, allocations: 179.8 kB / 7.453 MB, free: 2.508 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.233/1.233, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.001032/0.001032, allocations: 99.94 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4079/0.4079, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.436e-06/8.456e-06, allocations: 4 kB / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 69.35 MB / 0.5407 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3686, allocations: 117.7 MB / 0.6556 GB, free: 3.027 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.3688, allocations: 71.97 kB / 0.6557 GB, free: 2.957 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5882/0.957, allocations: 165.6 MB / 0.8174 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006353/0.9577, allocations: 131.9 kB / 0.8175 GB, free: 6.293 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.01743/0.9751, allocations: 6.022 MB / 0.8234 GB, free: 192 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.9752, allocations: 8.031 kB / 0.8234 GB, free: 184 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/0.9812, allocations: 1.17 MB / 0.8245 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009716/0.9909, allocations: 4.282 MB / 0.8287 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007756/0.9917, allocations: 0.7602 MB / 0.8295 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007519/0.9925, allocations: 247.7 kB / 0.8297 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007353/0.9999, allocations: 3.704 MB / 0.8333 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006915/1.007, allocations: 3.746 MB / 0.837 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.702e-05/1.007, allocations: 15.84 kB / 0.837 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/1.007, allocations: 0 / 0.837 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.561e-05/1.007, allocations: 88 kB / 0.8371 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03538/1.043, allocations: 18.34 MB / 0.855 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/1.049, allocations: 2.906 MB / 0.8578 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/1.052, allocations: 2.331 MB / 0.8601 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/1.053, allocations: 0.7781 MB / 0.8609 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004437/1.057, allocations: 2.691 MB / 0.8635 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=384): time 6.112e-06/1.057, allocations: 0 / 0.8635 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of matching and sorting (n=392): time 0.0476/1.105, allocations: 19.21 MB / 0.8823 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.105, allocations: 347.5 kB / 0.8826 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1654/1.271, allocations: 4.525 MB / 0.887 GB, free: 135.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008932/1.272, allocations: 29.67 kB / 0.887 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/1.272, allocations: 1.251 MB / 0.8883 GB, free: 135 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003838/1.276, allocations: 1.376 MB / 0.8896 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003679/1.277, allocations: 3.844 kB / 0.8896 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.277, allocations: 0.4897 MB / 0.8901 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003854/1.281, allocations: 2.479 MB / 0.8925 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/1.285, allocations: 2.887 MB / 0.8953 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/1.29, allocations: 2.77 MB / 0.898 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.29, allocations: 3.969 kB / 0.898 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01426/1.304, allocations: 7.742 MB / 0.9056 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.304, allocations: 1.442 MB / 0.907 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/1.304, allocations: 5.219 kB / 0.907 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/1.321, allocations: 4.638 MB / 0.9115 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.327, allocations: 1.061 MB / 0.9126 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.338, allocations: 6.832 MB / 0.9192 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0078/1.346, allocations: 0.5422 MB / 0.9198 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006227/1.347, allocations: 171.2 kB / 0.9199 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/1.347, allocations: 8.75 kB / 0.9199 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01238/1.359, allocations: 6.975 MB / 0.9268 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.359, allocations: 3.625 kB / 0.9268 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.375, allocations: 4.612 MB / 0.9313 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005716/1.381, allocations: 1.059 MB / 0.9323 GB, free: 130 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/1.396, allocations: 9.131 MB / 0.9412 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007178/1.403, allocations: 451.9 kB / 0.9416 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/1.403, 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.001216/1.405, allocations: 182.5 kB / 0.942 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.406, allocations: 0.5708 MB / 0.9425 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02822/1.434, allocations: 10.41 MB / 0.9527 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.434, allocations: 38.78 kB / 0.9527 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.434, allocations: 9.625 kB / 0.9527 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.995e-05/1.435, allocations: 18.84 kB / 0.9528 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/1.474, allocations: 16.99 MB / 0.9694 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.474, allocations: 1.188 kB / 0.9694 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00401/1.478, allocations: 0.5637 MB / 0.9699 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/1.492, allocations: 3.77 MB / 0.9736 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/1.493, allocations: 68.59 kB / 0.9736 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03611/1.529, allocations: 20.81 MB / 0.994 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.529, allocations: 5.5 kB / 0.994 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03473/1.564, allocations: 13.93 MB / 1.008 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/1.566, allocations: 0.7934 MB / 1.008 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/1.569, allocations: 36.75 kB / 1.008 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006745/1.575, allocations: 407.5 kB / 1.009 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.577, allocations: 314.4 kB / 1.009 GB, free: 102.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007074/1.577, allocations: 106.9 kB / 1.009 GB, free: 102.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.006549/1.584, allocations: 3.321 MB / 1.012 GB, free: 99.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008758/1.593, allocations: 1.907 MB / 1.014 GB, free: 97.35 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.0008396/1.594, allocations: 291.8 kB / 1.015 GB, free: 97.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02785/1.621, allocations: 12.37 MB / 1.027 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.622, allocations: 0 / 1.027 GB, free: 85.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/1.632, allocations: 4.466 MB / 1.031 GB, free: 81.81 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/1.636, allocations: 0.53 MB / 1.032 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/1.662, allocations: 12.3 MB / 1.044 GB, free: 70.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003957/1.666, allocations: 3.524 MB / 1.047 GB, free: 67.87 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.666, allocations: 0 / 1.047 GB, free: 67.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.3431/2.01, allocations: 117.9 MB / 1.162 GB, free: 110.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.AKD.System.AKD -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.AKD.System.AKD.pipe 2>&1)