Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") [: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.003858/0.003858, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.295/1.295, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001679/0.001679, allocations: 116.4 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.486e-06, allocations: 4 kB / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08336, allocations: 38.76 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.4095, allocations: 99.92 MB / 400.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4098, allocations: 82.81 kB / 400.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1892/0.599, allocations: 64.58 MB / 465.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005631/0.5996, allocations: 95.88 kB / 465.2 MB, free: 6 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.01389/0.6135, allocations: 3.229 MB / 468.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.6136, allocations: 8.031 kB / 468.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.6172, allocations: 451.1 kB / 468.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2315/0.8486, allocations: 2.353 MB / 471.2 MB, free: 48.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.8491, allocations: 98.56 kB / 471.3 MB, free: 48.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001474/0.8505, allocations: 184.7 kB / 471.5 MB, free: 48.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006368/0.8569, allocations: 3.361 MB / 474.8 MB, free: 48.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006678/0.8636, allocations: 3.851 MB / 478.7 MB, free: 48.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.417e-05/0.8637, allocations: 8.156 kB / 478.7 MB, free: 48.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/0.864, allocations: 3.656 kB / 478.7 MB, free: 48.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.8641, allocations: 128 kB / 478.8 MB, free: 48.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.8847, allocations: 13.05 MB / 491.9 MB, free: 45.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.8866, allocations: 1.331 MB / 493.2 MB, free: 45.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.8887, allocations: 1.589 MB / 494.8 MB, free: 45.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.889, allocations: 137.5 kB / 494.9 MB, free: 45.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.8891, allocations: 53.72 kB / 495 MB, free: 45.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 3.887e-06/0.8891, allocations: 0 / 495 MB, free: 45.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.01166/0.9007, allocations: 6.424 MB / 0.4897 GB, free: 44.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.9008, allocations: 76.72 kB / 0.4897 GB, free: 44.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.9036, allocations: 1.711 MB / 0.4914 GB, free: 44.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.9038, allocations: 31.41 kB / 0.4914 GB, free: 44.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.9044, allocations: 1.116 MB / 0.4925 GB, free: 43.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000469/0.9048, allocations: 0.5885 MB / 0.4931 GB, free: 43.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9049, allocations: 2.25 kB / 0.4931 GB, free: 43.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.9051, allocations: 377.2 kB / 0.4935 GB, free: 42.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.9064, allocations: 1.086 MB / 0.4945 GB, free: 42.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.908, allocations: 1.477 MB / 0.496 GB, free: 42.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.9096, allocations: 1.3 MB / 0.4972 GB, free: 42.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.9096, allocations: 3.656 kB / 0.4972 GB, free: 42.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005274/0.9149, allocations: 3.385 MB / 0.5006 GB, free: 41.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.915, allocations: 3.188 kB / 0.5006 GB, free: 41.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/0.915, allocations: 10.69 kB / 0.5006 GB, free: 41.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.917, allocations: 0.8067 MB / 0.5014 GB, free: 41.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.9189, allocations: 453.3 kB / 0.5018 GB, free: 41.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008488/0.9274, allocations: 10.13 MB / 0.5117 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.9301, allocations: 65.5 kB / 0.5117 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.9304, allocations: 76.88 kB / 0.5118 GB, free: 33.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005198/0.9309, allocations: 153.2 kB / 0.512 GB, free: 33.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.9314, allocations: 230.9 kB / 0.5122 GB, free: 33.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/0.9367, allocations: 3.18 MB / 0.5153 GB, free: 32.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.9367, allocations: 21.75 kB / 0.5153 GB, free: 32.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.9367, allocations: 7.719 kB / 0.5153 GB, free: 32.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.9368, allocations: 11.02 kB / 0.5153 GB, free: 32.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.9484, allocations: 6.461 MB / 0.5216 GB, free: 29.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9484, allocations: 0 / 0.5216 GB, free: 29.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.9499, allocations: 307.8 kB / 0.5219 GB, free: 29.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/0.9522, allocations: 0.9079 MB / 0.5228 GB, free: 29.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.9524, allocations: 19.08 kB / 0.5228 GB, free: 29.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009898/0.9623, allocations: 12.64 MB / 0.5352 GB, free: 19.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.9624, allocations: 3.875 kB / 0.5352 GB, free: 19.51 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006734/0.9691, allocations: 4.924 MB / 0.54 GB, free: 17.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.9708, allocations: 0.5524 MB / 0.5405 GB, free: 17.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004171/0.9713, allocations: 6.922 kB / 0.5405 GB, free: 17.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.9726, allocations: 96.06 kB / 0.5406 GB, free: 17.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.9729, allocations: 114.9 kB / 0.5407 GB, free: 17.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.973, allocations: 49.94 kB / 0.5408 GB, free: 17.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001975/0.975, allocations: 1.291 MB / 0.542 GB, free: 16.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002641/0.9776, allocations: 0.6348 MB / 0.5427 GB, free: 16.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007218/0.9784, allocations: 337.2 kB / 0.543 GB, free: 16.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005192/0.9836, allocations: 3.384 MB / 0.5463 GB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.9836, allocations: 1.281 kB / 0.5463 GB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/0.9871, allocations: 2.31 MB / 0.5485 GB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.9906, allocations: 0.4966 MB / 0.549 GB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.004, allocations: 5.553 MB / 0.5545 GB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/1.008, allocations: 2.709 MB / 0.5571 GB, free: 9.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.874e-06/1.008, allocations: 4 kB / 0.5571 GB, free: 9.934 MB / 346.7 MB Notification: Performance of Templates: time 0.2507/1.258, allocations: 34.65 MB / 0.5909 GB, free: 114.2 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1)