Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001186, allocations: 59.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2152, allocations: 50.55 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01056/0.2258, allocations: 9.715 MB / 419.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.2316, allocations: 3.744 MB / 423.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.2324, allocations: 47.81 kB / 423.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2339, allocations: 0.6988 MB / 424.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.2358, allocations: 0.9207 MB / 425.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009465/0.2368, allocations: 475.1 kB / 425.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.2393, allocations: 2.662 MB / 428.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.2413, allocations: 1.881 MB / 430.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.2426, allocations: 1.207 MB / 431.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.2443, allocations: 1.506 MB / 432.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004136/0.2447, allocations: 308 kB / 433.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009747/0.2457, allocations: 0.5465 MB / 433.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009595/0.2467, allocations: 1.024 MB / 434.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.2481, allocations: 1.489 MB / 436.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003785/0.2519, allocations: 4.308 MB / 440.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2519, allocations: 0 / 440.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2519, allocations: 0 / 440.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.2519, allocations: 0 / 440.5 MB, free: 2.887 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005567/0.2575, allocations: 3.181 MB / 443.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2576, allocations: 8.031 kB / 443.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.2586, allocations: 365.1 kB / 444 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2614, allocations: 1.724 MB / 445.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2615, allocations: 148 kB / 445.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.2619, allocations: 215.9 kB / 446.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.2663, allocations: 2.686 MB / 448.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.076e-05/0.2663, allocations: 11.84 kB / 448.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.2665, allocations: 80 kB / 448.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.2667, allocations: 99.92 kB / 449 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003934/0.2706, allocations: 2.276 MB / 451.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.2829, allocations: 8.139 MB / 459.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.2859, allocations: 1.628 MB / 461 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.2879, allocations: 1.101 MB / 462.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.2882, allocations: 130 kB / 462.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.2882, allocations: 43.56 kB / 462.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.306e-06/0.2882, allocations: 0 / 462.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01303/0.3012, allocations: 6.456 MB / 468.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3013, allocations: 64.72 kB / 468.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/0.304, allocations: 2.181 MB / 471 MB, free: 3.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.3041, allocations: 49.7 kB / 471.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007747/0.3049, allocations: 1.127 MB / 472.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.3053, allocations: 449.4 kB / 472.6 MB, free: 2.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.3057, allocations: 247.4 kB / 472.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3058, allocations: 361.9 kB / 473.2 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.3071, allocations: 0.7574 MB / 474 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.3086, allocations: 1.017 MB / 475 MB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.3114, allocations: 1.865 MB / 476.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3115, allocations: 0 / 476.9 MB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005062/0.3165, allocations: 2.761 MB / 479.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3166, allocations: 11.94 kB / 479.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3166, allocations: 8 kB / 479.6 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.3186, allocations: 0.7853 MB / 480.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3198, allocations: 267.6 kB / 480.7 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.332, allocations: 9.59 MB / 490.3 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.3333, allocations: 87.89 kB / 490.4 MB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.3335, allocations: 59.97 kB / 490.4 MB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * 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,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001214/0.3347, allocations: 0.7473 MB / 491.2 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/0.3352, allocations: 201.5 kB / 491.4 MB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.34, allocations: 2.496 MB / 493.9 MB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.34, allocations: 7.969 kB / 493.9 MB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.34, allocations: 0 / 493.9 MB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009402/0.3409, allocations: 450.3 kB / 494.3 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.3413, allocations: 27.98 kB / 494.3 MB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.3423, allocations: 91.89 kB / 494.4 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.3426, allocations: 109.1 kB / 494.5 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005924/0.3485, allocations: 2.576 MB / 497.1 MB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004989/0.3535, allocations: 3.079 MB / 0.4885 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.3549, allocations: 0.8573 MB / 0.4893 GB, free: 5.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002373/0.3573, allocations: 1.536 MB / 0.4908 GB, free: 3.461 MB / 414.1 MB Notification: Performance of Backend: time 6.32e-07/0.3573, allocations: 4 kB / 0.4908 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005482/0.3628, allocations: 2.261 MB / 0.493 GB, free: 1.324 MB / 414.1 MB Notification: Performance of SimCode: time 0.008735/0.3716, allocations: 5.479 MB / 0.4984 GB, free: 11.8 MB / 430.1 MB Notification: Performance of Templates: time 0.0533/0.4249, allocations: 32.47 MB / 0.5301 GB, free: 11.54 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1)