Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001754/0.001754, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002271/0.002271, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.816/1.816, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001832/0.001832, allocations: 59.88 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01498/0.1601, allocations: 11.74 MB / 338.4 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1708, allocations: 3.979 MB / 342.3 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003792/0.1746, allocations: 59.75 kB / 342.4 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.1779, allocations: 0.8501 MB / 343.3 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.1841, allocations: 0.9822 MB / 344.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.1861, allocations: 0.5266 MB / 344.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00636/0.1925, allocations: 3.444 MB / 348.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003806/0.1964, allocations: 2.676 MB / 350.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.1998, allocations: 1.526 MB / 352.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.2043, allocations: 1.93 MB / 354.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.2056, allocations: 408 kB / 354.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2079, allocations: 0.6518 MB / 355.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.2095, allocations: 1.141 MB / 356.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003534/0.213, allocations: 1.851 MB / 358.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006838/0.2199, allocations: 5.3 MB / 363.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.22, allocations: 0 / 363.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.897e-06/0.22, allocations: 0 / 363.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002165/0.2202, allocations: 0 / 363.7 MB, free: 15.19 MB / 318.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.009914/0.2301, allocations: 3.711 MB / 367.4 MB, free: 11.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2302, allocations: 15.89 kB / 367.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.2317, allocations: 432.7 kB / 367.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.235, allocations: 1.84 MB / 369.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.2352, allocations: 205.3 kB / 369.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.2356, allocations: 272 kB / 370.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006042/0.2417, allocations: 3.517 MB / 373.7 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-05/0.2417, allocations: 7.906 kB / 373.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.242, allocations: 112 kB / 373.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.2421, allocations: 117.3 kB / 373.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/0.2477, allocations: 2.972 MB / 376.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3123/0.5601, allocations: 11.09 MB / 387.9 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.5637, allocations: 2.28 MB / 390.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.566, allocations: 1.189 MB / 391.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.5663, allocations: 210.6 kB / 391.6 MB, free: 43.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.5664, allocations: 44.62 kB / 391.7 MB, free: 43.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 3.687e-06/0.5664, allocations: 4 kB / 391.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.01836/0.5848, allocations: 7.482 MB / 399.2 MB, free: 39.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.5849, allocations: 68.53 kB / 399.2 MB, free: 39.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.5883, allocations: 1.981 MB / 401.2 MB, free: 38.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.5884, allocations: 49.17 kB / 401.3 MB, free: 38.65 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008755/0.5893, allocations: 1.307 MB / 402.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.5897, allocations: 0.5018 MB / 403.1 MB, free: 37.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.5902, allocations: 333.3 kB / 403.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.5903, allocations: 305.1 kB / 403.7 MB, free: 36.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5916, allocations: 0.8785 MB / 404.6 MB, free: 36.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.5932, allocations: 1.375 MB / 405.9 MB, free: 35.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.5959, allocations: 2.39 MB / 408.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.596, allocations: 4 kB / 408.3 MB, free: 32.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00508/0.601, allocations: 2.967 MB / 411.3 MB, free: 29.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.6011, allocations: 16 kB / 411.3 MB, free: 29.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.6012, allocations: 16 kB / 411.3 MB, free: 29.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.6024, allocations: 466.2 kB / 411.8 MB, free: 28.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.6039, allocations: 435.3 kB / 412.2 MB, free: 28.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.61, allocations: 6.104 MB / 418.3 MB, free: 22.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.613, allocations: 123.9 kB / 418.4 MB, free: 22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.6132, allocations: 72 kB / 418.5 MB, free: 21.93 MB / 318.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.002408/0.6156, allocations: 0.8562 MB / 419.4 MB, free: 21.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.6166, allocations: 213.4 kB / 419.6 MB, free: 20.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/0.6221, allocations: 2.58 MB / 422.1 MB, free: 18.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.6221, allocations: 21.8 kB / 422.2 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.446e-05/0.6221, allocations: 4 kB / 422.2 MB, free: 18.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/0.6222, allocations: 16.05 kB / 422.2 MB, free: 18.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.6352, allocations: 5.642 MB / 427.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.6352, allocations: 4 kB / 427.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.6364, allocations: 287.5 kB / 428.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.6377, allocations: 498.4 kB / 428.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6379, allocations: 39.98 kB / 428.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007751/0.6456, allocations: 7.684 MB / 436.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.6457, allocations: 4 kB / 436.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007303/0.653, allocations: 3.846 MB / 440.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/0.6553, allocations: 478.4 kB / 440.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008863/0.6562, allocations: 36 kB / 440.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/0.6585, allocations: 99.88 kB / 440.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/0.6591, allocations: 121 kB / 440.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.6593, allocations: 47.98 kB / 440.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004029/0.6633, allocations: 1.359 MB / 442.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6633, allocations: 0 / 442.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004727/0.6681, allocations: 0.5829 MB / 442.9 MB, free: 12.84 MB / 334.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.001078/0.6692, allocations: 230.2 kB / 443.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.008896/0.6781, allocations: 3.352 MB / 446.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.6782, allocations: 4 kB / 446.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003445/0.6816, allocations: 1.608 MB / 448.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/0.687, allocations: 0.4967 MB / 448.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.702, allocations: 5.684 MB / 454.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/0.7047, allocations: 2.132 MB / 456.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002417/0.7071, allocations: 469 kB / 456.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.7077, allocations: 139.4 kB / 457 MB, free: 14.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.186e-06/0.7077, allocations: 4.875 kB / 457 MB, free: 14.58 MB / 350.1 MB Notification: Performance of Templates: time 0.0764/0.7841, allocations: 30.92 MB / 487.9 MB, free: 15.62 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)