Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.004861/0.004862, allocations: 101 kB / 15.73 MB, free: 6.039 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.001424/0.001424, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.763/1.763, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.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.001691/0.001691, allocations: 57.44 kB / 326.6 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.127, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01484/0.1419, allocations: 11.75 MB / 384.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1525, allocations: 3.975 MB / 388.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.1563, allocations: 59.75 kB / 389 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.1596, allocations: 0.8852 MB / 389.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005047/0.1646, allocations: 1.025 MB / 390.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.1668, allocations: 0.5227 MB / 391.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006518/0.1733, allocations: 3.46 MB / 394.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.177, allocations: 2.661 MB / 397.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.1812, allocations: 1.538 MB / 399.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005949/0.1872, allocations: 1.938 MB / 401 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.1886, allocations: 408 kB / 401.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.191, allocations: 0.6402 MB / 402 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.1926, allocations: 1.149 MB / 403.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004199/0.1968, allocations: 1.835 MB / 405 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009159/0.206, allocations: 5.374 MB / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.2061, allocations: 4 kB / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2061, allocations: 0 / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002492/0.2063, allocations: 0 / 410.4 MB, free: 11.9 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01396/0.2203, allocations: 3.707 MB / 414.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.2204, allocations: 11.89 kB / 414.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.2222, allocations: 436.7 kB / 414.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/0.2268, allocations: 1.852 MB / 416.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.2271, allocations: 209.4 kB / 416.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/0.2276, allocations: 271.9 kB / 416.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008294/0.2359, allocations: 3.517 MB / 420.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.582e-05/0.236, allocations: 7.984 kB / 420.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.2363, allocations: 112 kB / 420.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.2365, allocations: 121.3 kB / 420.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006158/0.2426, allocations: 2.964 MB / 423.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.2698, allocations: 10.97 MB / 434.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.2742, allocations: 2.288 MB / 436.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/0.277, allocations: 1.191 MB / 438 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.2775, allocations: 203.5 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.414e-05/0.2776, allocations: 47.88 kB / 438.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 5.992e-06/0.2776, allocations: 0 / 438.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.02163/0.2993, allocations: 7.486 MB / 445.8 MB, free: 7.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.2994, allocations: 72.7 kB / 445.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.3047, allocations: 1.975 MB / 447.8 MB, free: 5.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002217/0.305, allocations: 49.7 kB / 447.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.3065, allocations: 1.312 MB / 449.2 MB, free: 4.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007901/0.3073, allocations: 0.5045 MB / 449.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009332/0.3082, allocations: 327.2 kB / 450 MB, free: 3.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3084, allocations: 301.1 kB / 450.3 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.3104, allocations: 0.8784 MB / 451.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.3129, allocations: 1.384 MB / 452.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3845/0.6973, allocations: 2.372 MB / 454.9 MB, free: 68.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-05/0.6975, allocations: 6.969 kB / 454.9 MB, free: 68.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006959/0.7044, allocations: 2.978 MB / 457.9 MB, free: 67.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.7045, allocations: 12.25 kB / 457.9 MB, free: 67.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.141e-05/0.7046, allocations: 14.8 kB / 457.9 MB, free: 67.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.706, allocations: 459.6 kB / 458.4 MB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.7077, allocations: 429.6 kB / 458.8 MB, free: 67.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007142/0.7149, allocations: 6.11 MB / 464.9 MB, free: 62.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.7173, allocations: 122.6 kB / 465 MB, free: 62.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.7176, allocations: 76.78 kB / 465.1 MB, free: 62.74 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.002011/0.7196, allocations: 0.8541 MB / 466 MB, free: 62.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/0.7204, allocations: 210.1 kB / 466.2 MB, free: 62.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.7255, allocations: 2.583 MB / 468.7 MB, free: 61.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/0.7255, allocations: 16.5 kB / 468.8 MB, free: 61.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.7256, allocations: 7.75 kB / 468.8 MB, free: 61.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.7256, allocations: 8.922 kB / 468.8 MB, free: 61.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01045/0.736, allocations: 5.611 MB / 474.4 MB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.7361, allocations: 3.969 kB / 474.4 MB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.7373, allocations: 285.3 kB / 474.7 MB, free: 58.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.7385, allocations: 0.4973 MB / 475.2 MB, free: 58.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.7386, allocations: 42.67 kB / 475.2 MB, free: 58.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.7457, allocations: 7.664 MB / 482.9 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7457, allocations: 3.812 kB / 482.9 MB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/0.7515, allocations: 3.84 MB / 486.7 MB, free: 48.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/0.7532, allocations: 482.4 kB / 487.2 MB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.7536, allocations: 39.94 kB / 487.2 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.7548, allocations: 103.9 kB / 487.3 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/0.7552, allocations: 117 kB / 487.4 MB, free: 48.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/0.7553, allocations: 47.98 kB / 487.5 MB, free: 48.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.7571, allocations: 1.363 MB / 488.9 MB, free: 46.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7571, allocations: 0 / 488.9 MB, free: 46.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002066/0.7592, allocations: 0.5863 MB / 489.4 MB, free: 46.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * 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 simulation (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004403/0.7596, allocations: 224.1 kB / 489.7 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.7634, allocations: 2.622 MB / 492.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.7634, allocations: 4.062 kB / 492.3 MB, free: 43.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.7656, allocations: 1.599 MB / 493.9 MB, free: 41.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.7681, allocations: 0.4902 MB / 494.4 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/0.7771, allocations: 5.608 MB / 500 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.7788, allocations: 2.136 MB / 0.4903 GB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001592/0.7804, allocations: 472.9 kB / 0.4908 GB, free: 32.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7808, allocations: 139.4 kB / 0.4909 GB, free: 32.76 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.7808, allocations: 0 / 0.4909 GB, free: 32.76 MB / 382.1 MB Notification: Performance of Templates: time 0.05631/0.8371, allocations: 31.47 MB / 0.5217 GB, free: 1.254 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)