Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009533/0.2198, allocations: 8.949 MB / 418.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.2247, allocations: 2.944 MB / 421.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.2255, allocations: 47.81 kB / 421.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.227, allocations: 0.6368 MB / 422.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.2289, allocations: 0.7651 MB / 423.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.2295, allocations: 335.5 kB / 423.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.2317, allocations: 2.373 MB / 426 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.2336, allocations: 1.762 MB / 427.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2348, allocations: 1.082 MB / 428.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.2364, allocations: 1.343 MB / 430.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.2367, allocations: 280 kB / 430.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.2373, allocations: 383.8 kB / 430.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006903/0.238, allocations: 0.7986 MB / 431.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.2391, allocations: 1.268 MB / 432.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.2422, allocations: 3.701 MB / 436.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2422, allocations: 0 / 436.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2423, allocations: 0 / 436.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.2423, allocations: 0 / 436.6 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004554/0.2468, allocations: 2.594 MB / 439.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2469, allocations: 8.031 kB / 439.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.2478, allocations: 293.9 kB / 439.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.2499, allocations: 1.412 MB / 440.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.25, allocations: 139.9 kB / 441 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.2503, allocations: 187.8 kB / 441.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/0.254, allocations: 2.406 MB / 443.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.2541, allocations: 7.906 kB / 443.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.2543, allocations: 72 kB / 443.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/0.2543, allocations: 87.48 kB / 443.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.2576, allocations: 2.016 MB / 445.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/0.268, allocations: 7.374 MB / 453.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.2699, allocations: 1.265 MB / 454.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.2716, allocations: 0.912 MB / 455.3 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002217/0.2718, allocations: 118.1 kB / 455.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2719, allocations: 39.56 kB / 455.5 MB, free: 3.402 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.976e-06/0.2719, allocations: 4 kB / 455.5 MB, free: 3.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009251/0.2811, allocations: 4.905 MB / 460.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2812, allocations: 60.41 kB / 460.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.2832, allocations: 1.393 MB / 461.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/0.2833, allocations: 41.7 kB / 461.9 MB, free: 12.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006031/0.2839, allocations: 0.9009 MB / 462.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.2842, allocations: 358.9 kB / 463.2 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.2846, allocations: 214.8 kB / 463.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2847, allocations: 353.9 kB / 463.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/0.2857, allocations: 0.6272 MB / 464.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.2869, allocations: 0.9336 MB / 465.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.2892, allocations: 1.645 MB / 466.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.2892, allocations: 4 kB / 466.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004289/0.2935, allocations: 2.386 MB / 469.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2936, allocations: 12 kB / 469.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.2936, allocations: 8 kB / 469.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.2954, allocations: 0.7207 MB / 470 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008705/0.2963, allocations: 231.6 kB / 470.3 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.3069, allocations: 8.726 MB / 479 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.308, allocations: 91.91 kB / 479.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3081, allocations: 48 kB / 479.1 MB, free: 11.06 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009683/0.3091, allocations: 0.6301 MB / 479.8 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.3094, allocations: 146.2 kB / 479.9 MB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.3127, allocations: 1.894 MB / 481.8 MB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3127, allocations: 3.984 kB / 481.8 MB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3127, allocations: 4 kB / 481.8 MB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.3133, allocations: 367.1 kB / 482.2 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.3136, allocations: 23.98 kB / 482.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.3143, allocations: 71.86 kB / 482.3 MB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.3145, allocations: 80.86 kB / 482.3 MB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00408/0.3186, allocations: 2.019 MB / 484.4 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003429/0.3221, allocations: 2.509 MB / 486.9 MB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000977/0.3231, allocations: 0.687 MB / 487.6 MB, free: 2.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001319/0.3244, allocations: 0.9664 MB / 488.5 MB, free: 1.59 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3244, allocations: 0 / 488.5 MB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003062/0.3275, allocations: 1.585 MB / 490.1 MB, free: 15.96 MB / 414.1 MB Notification: Performance of SimCode: time 0.006261/0.3338, allocations: 4.323 MB / 494.4 MB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.03942/0.3732, allocations: 25.79 MB / 0.508 GB, free: 1.996 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1)