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.001142/0.001143, allocations: 103.2 kB / 18.4 MB, free: 4.68 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.001509/0.001509, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001227/0.001227, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09102, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.178/0.269, allocations: 11.75 MB / 387.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.2761, allocations: 3.985 MB / 391.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.278, allocations: 51.62 kB / 391.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.2802, allocations: 0.8625 MB / 392.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.2831, allocations: 0.9786 MB / 393.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.2843, allocations: 0.5233 MB / 394 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.288, allocations: 3.449 MB / 397.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.2908, allocations: 2.671 MB / 400.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.2935, allocations: 1.541 MB / 401.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.2968, allocations: 1.934 MB / 403.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006887/0.2975, allocations: 412.8 kB / 404 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.2993, allocations: 0.642 MB / 404.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.3006, allocations: 1.146 MB / 405.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.303, allocations: 1.838 MB / 407.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005961/0.309, allocations: 5.372 MB / 413 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.309, allocations: 1.125 kB / 413 MB, free: 8.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.309, allocations: 4 kB / 413 MB, free: 8.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3091, allocations: 0 / 413 MB, free: 8.504 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.007941/0.3171, allocations: 3.717 MB / 416.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3171, allocations: 9.281 kB / 416.7 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.3185, allocations: 434.2 kB / 417.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/0.3216, allocations: 1.84 MB / 419 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.3218, allocations: 213.3 kB / 419.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.3221, allocations: 271.8 kB / 419.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.3279, allocations: 3.517 MB / 423 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.377e-05/0.3279, allocations: 8 kB / 423 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.3282, allocations: 112 kB / 423.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.3283, allocations: 122.4 kB / 423.2 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004907/0.3332, allocations: 2.964 MB / 426.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3493, allocations: 10.97 MB / 437.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.352, allocations: 2.276 MB / 439.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.3539, allocations: 1.199 MB / 440.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.3542, allocations: 195.5 kB / 440.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3543, allocations: 51.88 kB / 440.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.687e-06/0.3543, allocations: 0 / 440.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.01598/0.3703, allocations: 7.501 MB / 448.4 MB, free: 6.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3703, allocations: 68.66 kB / 448.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.3731, allocations: 1.975 MB / 450.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.3733, allocations: 49.7 kB / 450.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/0.3741, allocations: 1.316 MB / 451.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.3745, allocations: 0.5045 MB / 452.3 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.375, allocations: 327.2 kB / 452.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.3751, allocations: 305.1 kB / 452.9 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.3765, allocations: 0.8861 MB / 453.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.3783, allocations: 1.369 MB / 455.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.3815, allocations: 2.386 MB / 457.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.3815, allocations: 4 kB / 457.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005002/0.3865, allocations: 2.966 MB / 460.5 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.3866, allocations: 16.31 kB / 460.5 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.3866, allocations: 20 kB / 460.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3877, allocations: 466 kB / 461 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.3893, allocations: 431.3 kB / 461.4 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006506/0.3958, allocations: 6.108 MB / 467.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.3978, allocations: 119.8 kB / 467.6 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.398, allocations: 72 kB / 467.7 MB, free: 2.008 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.001553/0.3996, allocations: 0.8486 MB / 468.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005726/0.4001, allocations: 213.4 kB / 468.8 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.4047, allocations: 2.583 MB / 471.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.4047, allocations: 7.969 kB / 471.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4048, allocations: 0 / 471.3 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.4058, allocations: 478.5 kB / 471.8 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/0.4063, allocations: 35.97 kB / 471.9 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.4076, allocations: 107.8 kB / 472 MB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.4078, allocations: 121.1 kB / 472.1 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00532/0.4132, allocations: 2.6 MB / 474.7 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004918/0.4181, allocations: 3.336 MB / 478 MB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001353/0.4195, allocations: 0.9471 MB / 479 MB, free: 6.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002281/0.4218, allocations: 1.356 MB / 480.3 MB, free: 5.262 MB / 398.1 MB Notification: Performance of Backend: time 7.81e-07/0.4218, allocations: 0 / 480.3 MB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004447/0.4262, allocations: 1.993 MB / 482.3 MB, free: 3.211 MB / 398.1 MB Notification: Performance of SimCode: time 0.008904/0.4352, allocations: 5.777 MB / 488.1 MB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.0569/0.4921, allocations: 34.5 MB / 0.5103 GB, free: 10.82 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)