Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.005321/0.005321, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001239/0.001239, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.729/1.729, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.002473/0.002473, allocations: 54.58 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1485, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01735/0.1659, allocations: 11.74 MB / 384.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1773, allocations: 3.983 MB / 388.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.1803, allocations: 55.75 kB / 389 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.1841, allocations: 0.8852 MB / 389.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.1893, allocations: 1.017 MB / 390.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.1916, allocations: 0.5266 MB / 391.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006682/0.1984, allocations: 3.444 MB / 394.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00575/0.2041, allocations: 2.676 MB / 397.5 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.2079, allocations: 1.534 MB / 399.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.2127, allocations: 1.934 MB / 401 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.2147, allocations: 412 kB / 401.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.2181, allocations: 0.644 MB / 402 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003705/0.2218, allocations: 1.149 MB / 403.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006729/0.2286, allocations: 1.839 MB / 405 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.2415, allocations: 5.362 MB / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.2416, allocations: 0 / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.406e-06/0.2416, allocations: 0 / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.242, allocations: 3.938 kB / 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.01642/0.2584, allocations: 3.719 MB / 414.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.143e-05/0.2586, allocations: 11.89 kB / 414.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.2617, allocations: 432.7 kB / 414.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.2675, allocations: 1.852 MB / 416.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.2678, allocations: 209.4 kB / 416.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.2689, allocations: 259.9 kB / 416.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.2804, allocations: 3.525 MB / 420.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/0.2806, allocations: 4 kB / 420.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008613/0.2815, allocations: 112 kB / 420.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.2817, allocations: 121.2 kB / 420.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008801/0.2905, allocations: 2.968 MB / 423.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.3211, allocations: 10.98 MB / 434.6 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.3253, allocations: 2.28 MB / 436.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.3279, allocations: 1.191 MB / 438 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.3283, allocations: 203.5 kB / 438.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.809e-05/0.3284, allocations: 43.88 kB / 438.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 6.643e-06/0.3284, allocations: 0 / 438.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.02012/0.3486, allocations: 7.486 MB / 445.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.3487, allocations: 68.66 kB / 445.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.3541, allocations: 1.983 MB / 447.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.3543, allocations: 57.64 kB / 447.9 MB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.3556, allocations: 1.308 MB / 449.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/0.3562, allocations: 0.4967 MB / 449.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006831/0.3569, allocations: 335.2 kB / 450 MB, free: 3.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.357, allocations: 301.1 kB / 450.3 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.3586, allocations: 0.8823 MB / 451.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.3608, allocations: 1.372 MB / 452.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4428/0.8037, allocations: 2.375 MB / 454.9 MB, free: 67.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.615e-05/0.8038, allocations: 4.594 kB / 454.9 MB, free: 67.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008988/0.8128, allocations: 2.976 MB / 457.9 MB, free: 66.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.813, allocations: 12.62 kB / 457.9 MB, free: 66.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.586e-05/0.813, allocations: 18.09 kB / 457.9 MB, free: 66.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.8149, allocations: 459.4 kB / 458.4 MB, free: 66.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.8172, allocations: 434.1 kB / 458.8 MB, free: 66.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.8282, allocations: 6.114 MB / 464.9 MB, free: 62.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.8316, allocations: 122.4 kB / 465 MB, free: 62.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/0.8324, allocations: 72.86 kB / 465.1 MB, free: 62.52 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.003545/0.8359, allocations: 0.8593 MB / 466 MB, free: 62.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/0.8371, allocations: 208.9 kB / 466.2 MB, free: 62.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006345/0.8435, allocations: 2.582 MB / 468.7 MB, free: 61.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/0.8436, allocations: 20.28 kB / 468.8 MB, free: 61.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/0.8436, allocations: 7.375 kB / 468.8 MB, free: 61.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.8436, allocations: 7.625 kB / 468.8 MB, free: 61.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.8596, allocations: 5.604 MB / 474.4 MB, free: 58.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-05/0.8597, allocations: 7.875 kB / 474.4 MB, free: 58.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.8611, allocations: 286.3 kB / 474.7 MB, free: 58.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.8627, allocations: 0.4935 MB / 475.2 MB, free: 58.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.8629, allocations: 37.95 kB / 475.2 MB, free: 58.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008503/0.8715, allocations: 7.674 MB / 482.9 MB, free: 51.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.8715, allocations: 7.469 kB / 482.9 MB, free: 51.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/0.879, allocations: 3.84 MB / 486.7 MB, free: 48.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.8811, allocations: 482.4 kB / 487.2 MB, free: 48.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/0.8822, allocations: 35.94 kB / 487.2 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.8842, allocations: 107.9 kB / 487.3 MB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/0.8847, allocations: 117 kB / 487.4 MB, free: 47.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.8849, allocations: 43.98 kB / 487.5 MB, free: 47.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003465/0.8883, allocations: 1.363 MB / 488.9 MB, free: 46.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.8884, allocations: 0 / 488.9 MB, free: 46.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003712/0.8921, allocations: 0.5848 MB / 489.4 MB, free: 45.98 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.0007717/0.8929, allocations: 225.1 kB / 489.7 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005087/0.898, allocations: 2.616 MB / 492.3 MB, free: 43.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/0.898, allocations: 5.406 kB / 492.3 MB, free: 43.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.9008, allocations: 1.607 MB / 493.9 MB, free: 41.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/0.9054, allocations: 488.6 kB / 494.4 MB, free: 41.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.9202, allocations: 5.615 MB / 500 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/0.9239, allocations: 2.136 MB / 0.4903 GB, free: 33.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002631/0.9266, allocations: 476.9 kB / 0.4908 GB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000969/0.9276, allocations: 139.4 kB / 0.4909 GB, free: 32.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.314e-06/0.9276, allocations: 0 / 0.4909 GB, free: 32.59 MB / 382.1 MB Notification: Performance of Templates: time 0.07025/0.9979, allocations: 31.47 MB / 0.5217 GB, free: 1.09 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)