Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [: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 3.2.1+maint.om/package.mo): time 0.003534/0.003534, allocations: 181.2 kB / 7.452 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.394/1.394, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001823/0.001822, allocations: 115.8 kB / 217.7 MB, free: 8.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.374e-06, allocations: 0 / 261.7 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09702/0.09705, allocations: 38.76 MB / 300.5 MB, free: 3.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3328/0.43, allocations: 93.39 MB / 393.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4303, allocations: 86.62 kB / 394 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1242/0.5545, allocations: 43.7 MB / 437.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003691/0.5549, allocations: 59.94 kB / 437.7 MB, free: 1.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007761/0.5627, allocations: 2.169 MB / 439.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5628, allocations: 8.031 kB / 439.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.5646, allocations: 296.8 kB / 440.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005037/0.5697, allocations: 1.503 MB / 441.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.5699, allocations: 67.91 kB / 441.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/0.571, allocations: 124 kB / 441.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005583/0.5765, allocations: 2.046 MB / 443.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006747/0.5833, allocations: 2.371 MB / 446.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.843e-05/0.5834, allocations: 4 kB / 446.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.5836, allocations: 4 kB / 446.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.5838, allocations: 91.88 kB / 446.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/0.6, allocations: 8.045 MB / 454.5 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6014, allocations: 0.8089 MB / 455.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.6031, allocations: 0.9454 MB / 456.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.6035, allocations: 130.1 kB / 456.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.6036, allocations: 43.56 kB / 456.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=107): time 4.118e-06/0.6036, allocations: 4 kB / 456.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=123): time 0.009509/0.6131, allocations: 4.42 MB / 460.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.6133, allocations: 68.34 kB / 460.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.6155, allocations: 1.077 MB / 461.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.6156, allocations: 25.7 kB / 462 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.6161, allocations: 0.7677 MB / 462.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.6165, allocations: 409.9 kB / 463.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.6166, allocations: 0 / 463.1 MB, free: 7.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.6168, allocations: 365.8 kB / 463.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.6179, allocations: 0.695 MB / 464.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.6192, allocations: 0.9916 MB / 465.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6204, allocations: 0.8455 MB / 466 MB, free: 4.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6204, allocations: 4 kB / 466 MB, free: 4.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003786/0.6242, allocations: 2.187 MB / 468.2 MB, free: 2.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6243, allocations: 8 kB / 468.2 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.6243, allocations: 8 kB / 468.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.6254, allocations: 415.4 kB / 468.6 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.627, allocations: 331.5 kB / 469 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1526/0.7796, allocations: 4.258 MB / 473.2 MB, free: 122.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.781, allocations: 49.19 kB / 473.3 MB, free: 122.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.7812, allocations: 54.7 kB / 473.3 MB, free: 122.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.7815, allocations: 139.2 kB / 473.5 MB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.7817, allocations: 148.9 kB / 473.6 MB, free: 122.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.785, allocations: 2.037 MB / 475.6 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.785, allocations: 14.42 kB / 475.7 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.7851, allocations: 5.5 kB / 475.7 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7851, allocations: 3.609 kB / 475.7 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007993/0.7931, allocations: 4.19 MB / 479.9 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.7932, allocations: 5.344 kB / 479.9 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7943, allocations: 224.7 kB / 480.1 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.7956, allocations: 468 kB / 480.5 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7957, allocations: 17.98 kB / 480.6 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.8005, allocations: 5.724 MB / 486.3 MB, free: 118.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.8006, allocations: 3 kB / 486.3 MB, free: 118.3 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004226/0.8048, allocations: 3.248 MB / 489.5 MB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008301/0.8057, allocations: 385.4 kB / 489.9 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.8059, allocations: 13.48 kB / 489.9 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/0.8067, allocations: 49.7 kB / 490 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.8069, allocations: 79.97 kB / 490 MB, free: 117.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.685e-05/0.807, allocations: 41.36 kB / 490.1 MB, free: 117.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00111/0.8081, allocations: 0.8228 MB / 490.9 MB, free: 117.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00147/0.8096, allocations: 419.3 kB / 491.3 MB, free: 117.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004705/0.8101, allocations: 272.1 kB / 491.6 MB, free: 117.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.8126, allocations: 2.132 MB / 493.7 MB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8127, allocations: 3.812 kB / 493.7 MB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.8144, allocations: 1.391 MB / 495.1 MB, free: 116.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.8159, allocations: 311.5 kB / 495.4 MB, free: 116.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/0.8221, allocations: 3.65 MB / 499.1 MB, free: 115.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/0.8237, allocations: 1.956 MB / 0.4893 GB, free: 115.2 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.8237, allocations: 0 / 0.4893 GB, free: 115.2 MB / 346.7 MB Notification: Performance of Templates: time 0.03665/0.8604, allocations: 21.37 MB / 0.5102 GB, free: 110.3 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1)