Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2468, allocations: 50.53 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01077/0.2576, allocations: 9.735 MB / 419.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.2631, allocations: 3.081 MB / 422.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.264, allocations: 47.81 kB / 422.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.2655, allocations: 0.6364 MB / 423.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2673, allocations: 0.7492 MB / 424.2 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.2681, allocations: 379.4 kB / 424.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.2705, allocations: 2.44 MB / 427 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.2725, allocations: 1.747 MB / 428.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.2739, allocations: 1.094 MB / 429.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.2754, allocations: 1.312 MB / 431.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.2758, allocations: 280 kB / 431.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.2765, allocations: 379.8 kB / 431.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.2772, allocations: 0.7752 MB / 432.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.2783, allocations: 1.268 MB / 433.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.2816, allocations: 3.658 MB / 437.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2816, allocations: 4 kB / 437.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2816, allocations: 4 kB / 437.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.2816, allocations: 0 / 437.5 MB, free: 5.852 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004383/0.286, allocations: 2.599 MB / 440.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2861, allocations: 8.031 kB / 440.1 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007531/0.2868, allocations: 274 kB / 440.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.289, allocations: 1.361 MB / 441.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2891, allocations: 140.2 kB / 441.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.2894, allocations: 207.8 kB / 442.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.293, allocations: 2.415 MB / 444.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.2931, allocations: 7.906 kB / 444.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.2932, allocations: 76 kB / 444.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-05/0.2933, allocations: 91.67 kB / 444.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.2964, allocations: 1.962 MB / 446.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01085/0.3072, allocations: 7.762 MB / 454.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.3088, allocations: 1.224 MB / 455.6 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.3106, allocations: 0.9674 MB / 456.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.3108, allocations: 122 kB / 456.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3109, allocations: 47.55 kB / 456.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.478e-06/0.3109, allocations: 0 / 456.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01194/0.3228, allocations: 5.862 MB / 462.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3229, allocations: 64.41 kB / 462.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.3246, allocations: 1.31 MB / 464 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-05/0.3247, allocations: 45.7 kB / 464 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.3253, allocations: 0.9277 MB / 465 MB, free: 9.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.3256, allocations: 390.4 kB / 465.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.326, allocations: 255.5 kB / 465.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3262, allocations: 353.9 kB / 465.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009266/0.3271, allocations: 0.6441 MB / 466.6 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.3283, allocations: 1 MB / 467.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.3308, allocations: 1.739 MB / 469.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3308, allocations: 0 / 469.3 MB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003742/0.3346, allocations: 2.249 MB / 471.6 MB, free: 2.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.3346, allocations: 8 kB / 471.6 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.3347, allocations: 12 kB / 471.6 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.3359, allocations: 495.4 kB / 472.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.337, allocations: 311.5 kB / 472.4 MB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/0.344, allocations: 7.119 MB / 479.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3452, allocations: 83.91 kB / 479.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.3453, allocations: 60.06 kB / 479.6 MB, free: 10.29 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009825/0.3463, allocations: 0.6066 MB / 480.3 MB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.3466, allocations: 146.2 kB / 480.4 MB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.3501, allocations: 1.972 MB / 482.4 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.3501, allocations: 7.969 kB / 482.4 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3501, allocations: 0 / 482.4 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.3508, allocations: 351.2 kB / 482.7 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.351, allocations: 27.98 kB / 482.7 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/0.3519, allocations: 71.92 kB / 482.8 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.3521, allocations: 88.84 kB / 482.9 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004308/0.3564, allocations: 2.094 MB / 485 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003305/0.3597, allocations: 2.456 MB / 487.5 MB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009295/0.3607, allocations: 0.6675 MB / 488.1 MB, free: 1.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3621, allocations: 0.8958 MB / 489 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of Backend: time 4e-07/0.3621, allocations: 0 / 489 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.3654, allocations: 1.82 MB / 490.8 MB, free: 14.9 MB / 414.1 MB Notification: Performance of SimCode: time 0.007586/0.373, allocations: 4.503 MB / 495.3 MB, free: 10.35 MB / 414.1 MB Notification: Performance of Templates: time 0.04243/0.4155, allocations: 25.6 MB / 0.5087 GB, free: 0.9805 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1)