Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",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 trunk/package.mo): time 0.0009726/0.0009726, allocations: 204.5 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.089/1.089, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008477/0.0008477, allocations: 92.67 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08632/0.08719, allocations: 56.92 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.1644, allocations: 51.47 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.392, allocations: 123.7 MB / 0.5063 GB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3922, allocations: 96.62 kB / 0.5064 GB, free: 2.074 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.3899/0.7821, allocations: 124.6 MB / 0.628 GB, free: 70.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.7822, allocations: 11.38 kB / 0.628 GB, free: 70.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004652/0.7868, allocations: 1.047 MB / 0.6291 GB, free: 70.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008049/0.7949, allocations: 4.649 MB / 0.6336 GB, free: 68.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.795, allocations: 166.9 kB / 0.6337 GB, free: 68.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005793/0.7956, allocations: 309.9 kB / 0.634 GB, free: 68.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007801/0.8034, allocations: 5.23 MB / 0.6392 GB, free: 66.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008712/0.8122, allocations: 6.045 MB / 0.6451 GB, free: 63.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.8123, allocations: 11.97 kB / 0.6451 GB, free: 63.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004267/0.8127, allocations: 5.5 kB / 0.6451 GB, free: 63.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/0.8129, allocations: 238.1 kB / 0.6453 GB, free: 63.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/0.8397, allocations: 20.65 MB / 0.6655 GB, free: 52.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.8417, allocations: 1.731 MB / 0.6672 GB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002714/0.8444, allocations: 2.263 MB / 0.6694 GB, free: 51.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007614/0.852, allocations: 5.461 MB / 0.6747 GB, free: 48.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.8521, allocations: 64.56 kB / 0.6748 GB, free: 48.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=258): time 3.807e-06/0.8521, allocations: 7.938 kB / 0.6748 GB, free: 48.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=277): time 0.01311/0.8652, allocations: 8.733 MB / 0.6833 GB, free: 44.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.8653, allocations: 85.22 kB / 0.6834 GB, free: 44.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.8677, allocations: 2.155 MB / 0.6855 GB, free: 43.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.8679, allocations: 25.7 kB / 0.6855 GB, free: 43.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005585/0.8685, allocations: 1.83 MB / 0.6873 GB, free: 42.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.8689, allocations: 0.9074 MB / 0.6882 GB, free: 41.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.8691, allocations: 0 / 0.6882 GB, free: 41.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8692, allocations: 429.5 kB / 0.6886 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.8708, allocations: 1.437 MB / 0.69 GB, free: 40.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.8727, allocations: 2.19 MB / 0.6921 GB, free: 39.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.8753, allocations: 1.859 MB / 0.6939 GB, free: 38.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8753, allocations: 8 kB / 0.694 GB, free: 38.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=403) (initialization): time 0.006215/0.8815, allocations: 4.707 MB / 0.6985 GB, free: 33.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.8815, allocations: 4 kB / 0.6986 GB, free: 33.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.8816, allocations: 28 kB / 0.6986 GB, free: 33.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.8831, allocations: 0.7622 MB / 0.6993 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.8856, allocations: 0.6867 MB / 0.7 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007918/0.8935, allocations: 12.52 MB / 0.7122 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.8954, allocations: 84.22 kB / 0.7123 GB, free: 19.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/0.8957, allocations: 127.5 kB / 0.7124 GB, free: 19.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (360): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003843/0.8961, allocations: 184.9 kB / 0.7126 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.8965, allocations: 304.2 kB / 0.7129 GB, free: 19.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006189/0.9026, allocations: 4.405 MB / 0.7172 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.9027, allocations: 24 kB / 0.7172 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.9027, allocations: 12 kB / 0.7172 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.9027, allocations: 13.36 kB / 0.7172 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.9147, allocations: 9.197 MB / 0.7262 GB, free: 7.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9148, allocations: 7.469 kB / 0.7262 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/0.9167, allocations: 447 kB / 0.7267 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.9188, allocations: 0.9159 MB / 0.7275 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.919, allocations: 33.75 kB / 0.7276 GB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.932, allocations: 15.45 MB / 0.7427 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.932, allocations: 7.938 kB / 0.7427 GB, free: 6.629 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1233/1.055, allocations: 6.83 MB / 0.7493 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01018/1.066, allocations: 9.428 MB / 0.7586 GB, free: 123 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.067, allocations: 0.7102 MB / 0.7592 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/1.068, allocations: 26.02 kB / 0.7593 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.069, allocations: 88.56 kB / 0.7594 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.069, allocations: 165.8 kB / 0.7595 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/1.07, allocations: 80 kB / 0.7596 GB, free: 122.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001933/1.071, allocations: 1.608 MB / 0.7612 GB, free: 122.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00335/1.075, allocations: 0.9595 MB / 0.7621 GB, free: 122.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.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 (218): * Single equations (assignments): 209 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005795/1.075, allocations: 427 kB / 0.7625 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004893/1.08, allocations: 4.615 MB / 0.767 GB, free: 121.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.08, allocations: 3.188 kB / 0.767 GB, free: 121.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/1.084, allocations: 2.942 MB / 0.7699 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/1.086, allocations: 0.6147 MB / 0.7705 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.098, allocations: 8.491 MB / 0.7788 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003364/1.102, allocations: 3.787 MB / 0.7825 GB, free: 118.1 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/1.102, allocations: 0 / 0.7825 GB, free: 118.1 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)