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.01315/0.01315, allocations: 96.27 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.001864/0.001864, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.691/1.691, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001346/0.001346, allocations: 52.27 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.4199/0.598, allocations: 11.75 MB / 384.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.6112, allocations: 3.974 MB / 388.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.6162, allocations: 57.25 kB / 389 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004522/0.6208, allocations: 0.8618 MB / 389.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.6282, allocations: 0.9837 MB / 390.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.6314, allocations: 0.5187 MB / 391.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008525/0.6399, allocations: 3.451 MB / 394.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006228/0.6462, allocations: 2.671 MB / 397.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.6517, allocations: 1.539 MB / 399 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006746/0.6585, allocations: 1.931 MB / 400.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002338/0.6609, allocations: 408.9 kB / 401.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004229/0.6652, allocations: 0.6432 MB / 402 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.6694, allocations: 1.149 MB / 403.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008848/0.6783, allocations: 1.836 MB / 404.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.6908, allocations: 5.392 MB / 410.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.6908, allocations: 2.156 kB / 410.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.6908, allocations: 4 kB / 410.3 MB, free: 8.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003175/0.6912, allocations: 0 / 410.3 MB, free: 8.438 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.01639/0.7076, allocations: 3.795 MB / 414.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.7077, allocations: 13.45 kB / 414.1 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/0.7099, allocations: 452.4 kB / 414.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004921/0.7148, allocations: 1.86 MB / 416.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.7151, allocations: 213.3 kB / 416.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.7155, allocations: 267.9 kB / 416.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008957/0.7245, allocations: 3.517 MB / 420.4 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.7246, allocations: 7.938 kB / 420.4 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.7249, allocations: 108.1 kB / 420.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.7251, allocations: 122.4 kB / 420.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/0.7311, allocations: 2.964 MB / 423.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.7581, allocations: 11.01 MB / 434.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/0.7619, allocations: 2.28 MB / 436.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/0.7645, allocations: 1.18 MB / 438.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.765, allocations: 211.5 kB / 438.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.7651, allocations: 47.81 kB / 438.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 4.168e-06/0.7651, allocations: 0 / 438.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02072/0.7858, allocations: 7.537 MB / 445.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.786, allocations: 72.66 kB / 446 MB, free: 5.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.7905, allocations: 1.975 MB / 447.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004976/0.791, allocations: 53.7 kB / 448 MB, free: 3.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/0.7925, allocations: 1.35 MB / 449.3 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008365/0.7934, allocations: 0.5267 MB / 449.9 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.794, allocations: 327.4 kB / 450.2 MB, free: 1.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7942, allocations: 301.1 kB / 450.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.7959, allocations: 0.8784 MB / 451.4 MB, free: 388 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.798, allocations: 1.38 MB / 452.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.8016, allocations: 2.378 MB / 455.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.8016, allocations: 4 kB / 455.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005927/0.8076, allocations: 2.991 MB / 458.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.8076, allocations: 16.31 kB / 458.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.8077, allocations: 19.98 kB / 458.1 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.809, allocations: 454.2 kB / 458.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.8108, allocations: 435.3 kB / 459 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.8182, allocations: 6.098 MB / 465.1 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/0.821, allocations: 119.8 kB / 465.2 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/0.8213, allocations: 80.08 kB / 465.3 MB, free: 1.688 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.002451/0.8238, allocations: 0.8524 MB / 466.2 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007789/0.8246, allocations: 222.6 kB / 466.4 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.8294, allocations: 2.591 MB / 469 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.876e-05/0.8294, allocations: 16 kB / 469 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.8294, allocations: 4 kB / 469 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.8295, allocations: 7.969 kB / 469 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.8405, allocations: 5.627 MB / 474.6 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.8406, allocations: 8.469 kB / 474.6 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.8418, allocations: 279.6 kB / 474.9 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.8435, allocations: 0.4906 MB / 475.4 MB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.8436, allocations: 35.98 kB / 475.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008489/0.8521, allocations: 7.676 MB / 483.1 MB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.8522, allocations: 7.938 kB / 483.1 MB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/0.8592, allocations: 3.852 MB / 487 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.8613, allocations: 487.5 kB / 487.4 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.8617, allocations: 35.98 kB / 487.5 MB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.8629, allocations: 107.8 kB / 487.6 MB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000378/0.8633, allocations: 121.1 kB / 487.7 MB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.8634, allocations: 55.97 kB / 487.8 MB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00241/0.8659, allocations: 1.352 MB / 489.1 MB, free: 9.121 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8659, allocations: 0 / 489.1 MB, free: 9.121 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003553/0.8694, allocations: 0.582 MB / 489.7 MB, free: 8.539 MB / 414.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.0008258/0.8703, allocations: 234 kB / 489.9 MB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005708/0.876, allocations: 2.604 MB / 492.5 MB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/0.8761, allocations: 12.19 kB / 492.5 MB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003549/0.8796, allocations: 1.607 MB / 494.1 MB, free: 3.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.8835, allocations: 0.4888 MB / 494.6 MB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.8953, allocations: 5.702 MB / 0.4886 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/0.8976, allocations: 2.136 MB / 0.4907 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00191/0.8995, allocations: 477 kB / 0.4911 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.9, allocations: 139.4 kB / 0.4913 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 2.214e-06/0.9, allocations: 0 / 0.4913 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Templates: time 0.06811/0.9681, allocations: 31.48 MB / 0.522 GB, free: 11.4 MB / 462.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)