Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 108.4 kB / 16.92 MB, free: 5.891 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.001261/0.001261, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.813/1.813, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001209/0.001209, allocations: 51.94 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1179, allocations: 46.62 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.01105/0.129, allocations: 8.961 MB / 335.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.1363, allocations: 3.21 MB / 338.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1379, allocations: 39.81 kB / 338.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.1404, allocations: 0.6638 MB / 339.5 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.1431, allocations: 0.7106 MB / 340.2 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009716/0.1441, allocations: 323.5 kB / 340.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002937/0.1471, allocations: 2.094 MB / 342.6 MB, free: 4.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.1488, allocations: 1.405 MB / 344 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1503, allocations: 0.8993 MB / 344.9 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.152, allocations: 1.125 MB / 346 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.1525, allocations: 232 kB / 346.3 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.1534, allocations: 331.8 kB / 346.6 MB, free: 372 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008298/0.1542, allocations: 0.67 MB / 347.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.156, allocations: 1.085 MB / 348.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.1599, allocations: 3.072 MB / 351.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1599, allocations: 0 / 351.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1599, allocations: 4 kB / 351.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.259e-05/0.16, allocations: 0 / 351.4 MB, free: 11.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.005491/0.1655, allocations: 2.258 MB / 353.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.1656, allocations: 15.89 kB / 353.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008266/0.1664, allocations: 226.5 kB / 353.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.1687, allocations: 1.157 MB / 355.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1688, allocations: 111.5 kB / 355.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.1691, allocations: 159.8 kB / 355.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.1732, allocations: 2.004 MB / 357.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.1732, allocations: 4 kB / 357.4 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.1734, allocations: 64 kB / 357.4 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/0.1735, allocations: 78.86 kB / 357.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.1766, allocations: 1.651 MB / 359.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.1889, allocations: 6.952 MB / 366.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.1898, allocations: 436.5 kB / 366.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.1902, allocations: 266.6 kB / 366.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.1905, allocations: 121.5 kB / 366.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1906, allocations: 38.94 kB / 366.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.1906, allocations: 0 / 366.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007664/0.1982, allocations: 3.287 MB / 370.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002677/0.201, allocations: 2.334 MB / 372.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/0.2045, allocations: 1.619 MB / 374.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.2047, allocations: 37.7 kB / 374.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/0.2056, allocations: 1.018 MB / 375.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.2059, allocations: 236.8 kB / 375.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005788/0.2065, allocations: 319.1 kB / 375.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2067, allocations: 305.1 kB / 376.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.2076, allocations: 0.5231 MB / 376.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1977/0.4052, allocations: 1.457 MB / 378.1 MB, free: 50.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.4079, allocations: 2.144 MB / 380.2 MB, free: 49.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.4079, allocations: 13.84 kB / 380.2 MB, free: 49.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004204/0.4121, allocations: 2.154 MB / 382.4 MB, free: 48.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.4122, allocations: 20.62 kB / 382.4 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-05/0.4122, allocations: 32.28 kB / 382.4 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.4128, allocations: 229.2 kB / 382.6 MB, free: 48.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4139, allocations: 394.8 kB / 383 MB, free: 48.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.4155, allocations: 1.844 MB / 384.9 MB, free: 46.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.417, allocations: 138.2 kB / 385 MB, free: 46.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.4171, allocations: 101 kB / 385.1 MB, free: 46.8 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001016/0.4181, allocations: 0.5877 MB / 385.7 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.4185, allocations: 149.4 kB / 385.8 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.4204, allocations: 1.118 MB / 387 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4205, allocations: 7.125 kB / 387 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4205, allocations: 1.219 kB / 387 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4205, allocations: 3.281 kB / 387 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/0.4258, allocations: 3.385 MB / 390.4 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.4259, allocations: 5.688 kB / 390.4 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.4263, allocations: 112.5 kB / 390.5 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006343/0.4269, allocations: 234.5 kB / 390.7 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.427, allocations: 19.47 kB / 390.7 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.4301, allocations: 4.067 MB / 394.8 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001726/0.4318, allocations: 2.183 MB / 397 MB, free: 39.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.4345, allocations: 1.734 MB / 398.7 MB, free: 38.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006476/0.4352, allocations: 307.5 kB / 399 MB, free: 38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.4354, allocations: 17.62 kB / 399 MB, free: 37.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.4361, allocations: 48.78 kB / 399.1 MB, free: 37.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.4362, allocations: 64.39 kB / 399.1 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.4363, allocations: 21.88 kB / 399.2 MB, free: 37.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.4378, allocations: 1.074 MB / 400.2 MB, free: 37.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4378, allocations: 0 / 400.2 MB, free: 37.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001865/0.4397, allocations: 381.7 kB / 400.6 MB, free: 37.51 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * Array equations: 0 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.44, allocations: 177.8 kB / 400.8 MB, free: 37.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.4423, allocations: 1.704 MB / 402.5 MB, free: 36.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4423, allocations: 2.844 kB / 402.5 MB, free: 36.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4433, allocations: 0.8552 MB / 403.3 MB, free: 35.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.4451, allocations: 410.1 kB / 403.7 MB, free: 35.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.449, allocations: 3.209 MB / 406.9 MB, free: 32.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.4498, allocations: 1.472 MB / 408.4 MB, free: 31.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001032/0.4508, allocations: 346.5 kB / 408.8 MB, free: 31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.4511, allocations: 119.4 kB / 408.9 MB, free: 30.88 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4511, allocations: 0 / 408.9 MB, free: 30.88 MB / 318.1 MB Notification: Performance of Templates: time 0.03537/0.4865, allocations: 20.4 MB / 429.3 MB, free: 10.48 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1)