Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.1 kB / 18.4 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 180.5 kB / 19.34 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 47.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07188/0.07311, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.1524/0.2255, allocations: 11.74 MB / 387.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005579/0.2311, allocations: 3.99 MB / 391.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008327/0.232, allocations: 56.16 kB / 391.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.2337, allocations: 0.8808 MB / 392.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.2355, allocations: 1.022 MB / 393.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.2365, allocations: 0.5254 MB / 394.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.2392, allocations: 3.45 MB / 397.5 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002629/0.2418, allocations: 2.668 MB / 400.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.2436, allocations: 1.545 MB / 401.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.246, allocations: 1.929 MB / 403.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005346/0.2465, allocations: 409.6 kB / 404 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.2477, allocations: 0.6467 MB / 404.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.2488, allocations: 1.146 MB / 405.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.2507, allocations: 1.835 MB / 407.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005256/0.2559, allocations: 5.396 MB / 413.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2559, allocations: 1.688 kB / 413.1 MB, free: 8.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.256, allocations: 4 kB / 413.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.256, allocations: 0 / 413.1 MB, free: 8.406 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.006663/0.2627, allocations: 3.796 MB / 416.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2627, allocations: 12.22 kB / 416.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.264, allocations: 448.3 kB / 417.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.2669, allocations: 1.862 MB / 419.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2671, allocations: 213.3 kB / 419.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003759/0.2674, allocations: 267.9 kB / 419.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/0.2728, allocations: 3.517 MB / 423.2 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.348e-05/0.2729, allocations: 7.984 kB / 423.2 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.2732, allocations: 108.1 kB / 423.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/0.2733, allocations: 117.3 kB / 423.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004986/0.2783, allocations: 2.968 MB / 426.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.2932, allocations: 11.01 MB / 437.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.2959, allocations: 2.277 MB / 439.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.2978, allocations: 1.188 MB / 440.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.2981, allocations: 199.5 kB / 441 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2982, allocations: 51.88 kB / 441.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 2.855e-06/0.2982, allocations: 0 / 441.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01481/0.313, allocations: 7.541 MB / 448.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.313, allocations: 64.72 kB / 448.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.3155, allocations: 1.979 MB / 450.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.3156, allocations: 49.7 kB / 450.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/0.3165, allocations: 1.35 MB / 452.1 MB, free: 2.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.3169, allocations: 0.5345 MB / 452.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005021/0.3174, allocations: 327.4 kB / 452.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.373e-05/0.3175, allocations: 301.1 kB / 453.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.3189, allocations: 0.8861 MB / 454.1 MB, free: 328 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3207, allocations: 1.368 MB / 455.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.3239, allocations: 2.382 MB / 457.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.324, allocations: 4 kB / 457.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004748/0.3287, allocations: 2.983 MB / 460.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3288, allocations: 15.94 kB / 460.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.3288, allocations: 16.38 kB / 460.9 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3299, allocations: 466.2 kB / 461.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.3315, allocations: 427.3 kB / 461.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.3378, allocations: 6.117 MB / 467.9 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.3395, allocations: 123.9 kB / 468 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.3397, allocations: 79.98 kB / 468.1 MB, free: 1.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.3409, allocations: 0.8408 MB / 468.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.3413, allocations: 226.6 kB / 469.1 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/0.3456, allocations: 2.576 MB / 471.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.3456, allocations: 7.969 kB / 471.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3457, allocations: 0 / 471.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.3464, allocations: 495.5 kB / 472.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.3467, allocations: 31.91 kB / 472.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.3478, allocations: 115.8 kB / 472.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.3481, allocations: 117.1 kB / 472.5 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005207/0.3533, allocations: 2.6 MB / 475.1 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004862/0.3582, allocations: 3.349 MB / 478.4 MB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001361/0.3596, allocations: 0.9471 MB / 479.3 MB, free: 6.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001803/0.3614, allocations: 1.356 MB / 480.7 MB, free: 4.848 MB / 398.1 MB Notification: Performance of Backend: time 4.21e-07/0.3614, allocations: 0 / 480.7 MB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.3651, allocations: 1.99 MB / 482.7 MB, free: 2.801 MB / 398.1 MB Notification: Performance of SimCode: time 0.007842/0.373, allocations: 5.878 MB / 488.6 MB, free: 12.87 MB / 414.1 MB Notification: Performance of Templates: time 0.05253/0.4255, allocations: 33.86 MB / 0.5102 GB, free: 10.94 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)