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.001339/0.001339, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001455/0.001455, allocations: 191 kB / 18 MB, free: 5.207 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.65/1.65, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001325/0.001325, allocations: 59.92 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 46.61 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.3013/0.4297, allocations: 11.74 MB / 386.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4403, allocations: 3.988 MB / 390.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.4439, allocations: 56.03 kB / 390.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.4473, allocations: 0.8799 MB / 391.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.4523, allocations: 1.023 MB / 392.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.4542, allocations: 0.5261 MB / 392.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006348/0.4606, allocations: 3.448 MB / 396.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00469/0.4653, allocations: 2.676 MB / 398.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.4693, allocations: 1.54 MB / 400.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.4744, allocations: 1.93 MB / 402.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001837/0.4763, allocations: 409.6 kB / 402.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.4795, allocations: 0.6463 MB / 403.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.4816, allocations: 1.145 MB / 404.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005711/0.4874, allocations: 1.845 MB / 406.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.4985, allocations: 5.367 MB / 411.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.4986, allocations: 0 / 411.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4986, allocations: 0 / 411.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002816/0.4989, allocations: 4 kB / 411.7 MB, free: 8.418 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.01727/0.5162, allocations: 3.706 MB / 415.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.5162, allocations: 12.11 kB / 415.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.5191, allocations: 435 kB / 415.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.5249, allocations: 1.854 MB / 417.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.5252, allocations: 209.3 kB / 417.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.5262, allocations: 271.9 kB / 418.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009529/0.5357, allocations: 3.521 MB / 421.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.5359, allocations: 0 / 421.7 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006575/0.5366, allocations: 111.9 kB / 421.8 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001968/0.5368, allocations: 121.3 kB / 421.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00797/0.5447, allocations: 2.968 MB / 424.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.5706, allocations: 10.98 MB / 435.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.5745, allocations: 2.28 MB / 438.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.5769, allocations: 1.183 MB / 439.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.5774, allocations: 211.5 kB / 439.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.5775, allocations: 43.88 kB / 439.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 5.791e-06/0.5775, allocations: 0 / 439.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.02046/0.598, allocations: 7.501 MB / 447.1 MB, free: 6.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.5981, allocations: 68.72 kB / 447.2 MB, free: 5.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006027/0.6042, allocations: 1.979 MB / 449.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.6044, allocations: 49.7 kB / 449.2 MB, free: 3.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.6058, allocations: 1.308 MB / 450.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.6065, allocations: 0.5045 MB / 451 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008694/0.6074, allocations: 327.2 kB / 451.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6076, allocations: 305.1 kB / 451.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.6095, allocations: 0.8862 MB / 452.5 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.6116, allocations: 1.372 MB / 453.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.6156, allocations: 2.378 MB / 456.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/0.6157, allocations: 4 kB / 456.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006763/0.6224, allocations: 2.974 MB / 459.2 MB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.6225, allocations: 15.94 kB / 459.2 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/0.6226, allocations: 16 kB / 459.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.624, allocations: 458.5 kB / 459.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.6257, allocations: 435.3 kB / 460.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007299/0.633, allocations: 6.096 MB / 466.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.6354, allocations: 127.8 kB / 466.3 MB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.6358, allocations: 75.98 kB / 466.4 MB, free: 1.887 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.00261/0.6384, allocations: 0.8447 MB / 467.3 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009254/0.6393, allocations: 217.4 kB / 467.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.6446, allocations: 2.58 MB / 470.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/0.6447, allocations: 23.98 kB / 470.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/0.6447, allocations: 12 kB / 470.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.6448, allocations: 3.984 kB / 470.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.6584, allocations: 5.623 MB / 475.7 MB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.6585, allocations: 4 kB / 475.7 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.6598, allocations: 280.1 kB / 476 MB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.6614, allocations: 0.4944 MB / 476.5 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.6616, allocations: 39.97 kB / 476.5 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009455/0.671, allocations: 7.676 MB / 484.2 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.6711, allocations: 4 kB / 484.2 MB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/0.6787, allocations: 3.843 MB / 488.1 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/0.6808, allocations: 474.4 kB / 488.5 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/0.6819, allocations: 44.05 kB / 488.6 MB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.684, allocations: 103.9 kB / 488.7 MB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.6844, allocations: 117 kB / 488.8 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/0.6846, allocations: 47.98 kB / 488.8 MB, free: 10.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003951/0.6886, allocations: 1.36 MB / 490.2 MB, free: 9.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6886, allocations: 0 / 490.2 MB, free: 9.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004019/0.6926, allocations: 0.5859 MB / 490.8 MB, free: 8.77 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.000781/0.6934, allocations: 218.2 kB / 491 MB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006283/0.6997, allocations: 2.613 MB / 493.6 MB, free: 5.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.6997, allocations: 3.938 kB / 493.6 MB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.7029, allocations: 1.611 MB / 495.2 MB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/0.7076, allocations: 496.7 kB / 495.7 MB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.7235, allocations: 5.615 MB / 0.4896 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003646/0.7272, allocations: 2.128 MB / 0.4916 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002618/0.7298, allocations: 476.9 kB / 0.4921 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.7309, allocations: 143.4 kB / 0.4922 GB, free: 11.29 MB / 430.1 MB Notification: Performance of SimCode: time 2.485e-06/0.7309, allocations: 0 / 0.4922 GB, free: 11.29 MB / 430.1 MB Notification: Performance of Templates: time 0.0721/0.803, allocations: 31.48 MB / 0.523 GB, free: 11.75 MB / 462.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)