Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_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.001028/0.001027, allocations: 206.7 kB / 8.544 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008732/0.0008732, allocations: 90.12 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09521/0.09611, allocations: 56.9 MB / 343.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.1783, allocations: 51.49 MB / 394.7 MB, free: 5.062 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.4105, allocations: 104.3 MB / 499 MB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4107, allocations: 91.3 kB / 499.1 MB, free: 5.375 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.1161/0.5269, allocations: 46.36 MB / 0.5326 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5269, allocations: 8 kB / 0.5327 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.5279, allocations: 336.8 kB / 0.533 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.5305, allocations: 1.558 MB / 0.5345 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.5306, allocations: 64 kB / 0.5346 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.5309, allocations: 124 kB / 0.5347 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003315/0.5342, allocations: 2.058 MB / 0.5367 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.5378, allocations: 2.386 MB / 0.539 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.375e-05/0.5378, allocations: 3.938 kB / 0.539 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.538, allocations: 4 kB / 0.539 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.5381, allocations: 87.94 kB / 0.5391 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.5495, allocations: 8.1 MB / 0.547 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.5506, allocations: 0.8049 MB / 0.5478 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5519, allocations: 0.9454 MB / 0.5487 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.5522, allocations: 134.1 kB / 0.5489 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5523, allocations: 43.56 kB / 0.5489 GB, free: 10.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.425e-06/0.5523, allocations: 0 / 0.5489 GB, free: 10.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.007724/0.56, allocations: 4.408 MB / 0.5532 GB, free: 6.273 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5601, allocations: 72.39 kB / 0.5533 GB, free: 6.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5615, allocations: 1.112 MB / 0.5544 GB, free: 5.074 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/0.5616, allocations: 29.64 kB / 0.5544 GB, free: 5.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.562, allocations: 0.7716 MB / 0.5551 GB, free: 4.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.5623, allocations: 406 kB / 0.5555 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.616e-05/0.5624, allocations: 0 / 0.5555 GB, free: 3.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5625, allocations: 361.8 kB / 0.5559 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.5635, allocations: 0.695 MB / 0.5566 GB, free: 2.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5645, allocations: 0.9955 MB / 0.5575 GB, free: 1.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5657, allocations: 0.8455 MB / 0.5583 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5657, allocations: 4 kB / 0.5584 GB, free: 0.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003297/0.569, allocations: 2.179 MB / 0.5605 GB, free: 14.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.569, allocations: 4.375 kB / 0.5605 GB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.569, allocations: 20 kB / 0.5605 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009496/0.57, allocations: 407.1 kB / 0.5609 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.5714, allocations: 335.5 kB / 0.5612 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.5756, allocations: 4.272 MB / 0.5654 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.5765, allocations: 52.02 kB / 0.5654 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.5766, allocations: 59.98 kB / 0.5655 GB, free: 9.254 MB / 442.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.0002235/0.5769, allocations: 136.6 kB / 0.5656 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.5771, allocations: 154.1 kB / 0.5658 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.5804, allocations: 2.04 MB / 0.5678 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5804, allocations: 12 kB / 0.5678 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5804, allocations: 4 kB / 0.5678 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5804, allocations: 3.984 kB / 0.5678 GB, free: 6.883 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.5872, allocations: 4.2 MB / 0.5719 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5872, allocations: 4 kB / 0.5719 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.5883, allocations: 228 kB / 0.5721 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.5895, allocations: 470.9 kB / 0.5726 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.5896, allocations: 15.97 kB / 0.5726 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.115/0.7047, allocations: 5.713 MB / 0.5781 GB, free: 142.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7047, allocations: 6.188 kB / 0.5782 GB, free: 142.7 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003711/0.7084, allocations: 3.236 MB / 0.5813 GB, free: 142.3 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004585/0.713, allocations: 4.7 MB / 0.5859 GB, free: 141.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006652/0.7137, allocations: 388.8 kB / 0.5863 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.714, allocations: 14.72 kB / 0.5863 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.7148, allocations: 49.56 kB / 0.5863 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.715, allocations: 95.19 kB / 0.5864 GB, free: 141.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/0.7151, allocations: 37.38 kB / 0.5865 GB, free: 141.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001032/0.7161, allocations: 0.835 MB / 0.5873 GB, free: 141.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002016/0.7182, allocations: 441 kB / 0.5877 GB, free: 141.3 MB / 442.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.0003887/0.7186, allocations: 277.2 kB / 0.588 GB, free: 141.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.7209, allocations: 2.13 MB / 0.59 GB, free: 140.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7209, allocations: 0 / 0.59 GB, free: 140.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.7226, allocations: 1.392 MB / 0.5914 GB, free: 140.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.7239, allocations: 319 kB / 0.5917 GB, free: 140.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.7293, allocations: 3.682 MB / 0.5953 GB, free: 139.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.7309, allocations: 1.983 MB / 0.5972 GB, free: 138.8 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7309, allocations: 0 / 0.5972 GB, free: 138.8 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1)