Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 192 kB / 16.53 MB, free: 6.391 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.747/1.747, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001505/0.001505, allocations: 47.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4263, allocations: 46.63 MB / 325.3 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.0167/0.443, allocations: 10.89 MB / 336.2 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.4529, allocations: 3.667 MB / 339.9 MB, free: 5.352 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.4558, allocations: 55.75 kB / 339.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00243/0.4583, allocations: 0.8111 MB / 340.7 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.4622, allocations: 0.8658 MB / 341.6 MB, free: 3.609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.4634, allocations: 467.3 kB / 342.1 MB, free: 3.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.4673, allocations: 2.939 MB / 345 MB, free: 204 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.4704, allocations: 2.687 MB / 347.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.4726, allocations: 1.363 MB / 349.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.4749, allocations: 1.748 MB / 350.8 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.4755, allocations: 380 kB / 351.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009872/0.4765, allocations: 475.8 kB / 351.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.4777, allocations: 1.075 MB / 352.7 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.4795, allocations: 1.672 MB / 354.4 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004884/0.4844, allocations: 4.806 MB / 359.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4844, allocations: 0 / 359.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4844, allocations: 0 / 359.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.677e-05/0.4845, allocations: 0 / 359.2 MB, free: 1.918 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.007061/0.4915, allocations: 3.402 MB / 362.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.4916, allocations: 15.89 kB / 362.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.4925, allocations: 337.1 kB / 362.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.4953, allocations: 1.682 MB / 364.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.4955, allocations: 205.3 kB / 364.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.4959, allocations: 251.9 kB / 365.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005547/0.5015, allocations: 3.279 MB / 368.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-05/0.5015, allocations: 0 / 368.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.5018, allocations: 108 kB / 368.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.5019, allocations: 120.9 kB / 368.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.5065, allocations: 2.748 MB / 371.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/0.5233, allocations: 10.52 MB / 381.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.5253, allocations: 1.343 MB / 383.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.5265, allocations: 0.7852 MB / 384 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.5268, allocations: 203.2 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5269, allocations: 43.56 kB / 384.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.847e-06/0.5269, allocations: 0 / 384.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01625/0.5431, allocations: 7.038 MB / 391.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.5433, allocations: 64.41 kB / 391.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/0.5472, allocations: 1.789 MB / 393.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.5474, allocations: 45.7 kB / 393.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.5486, allocations: 1.275 MB / 394.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.5491, allocations: 421.9 kB / 394.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.5498, allocations: 307.2 kB / 395.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5499, allocations: 309.1 kB / 395.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.5514, allocations: 0.773 MB / 396.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.5532, allocations: 1.297 MB / 397.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.5566, allocations: 2.211 MB / 399.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.5566, allocations: 4 kB / 399.7 MB, free: 8.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004709/0.5614, allocations: 2.474 MB / 402.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.5614, allocations: 12 kB / 402.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.611e-05/0.5615, allocations: 16 kB / 402.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007307/0.5622, allocations: 243.8 kB / 402.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.5638, allocations: 415.3 kB / 402.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.5676, allocations: 3.242 MB / 406.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/0.5698, allocations: 131.8 kB / 406.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.5701, allocations: 68 kB / 406.3 MB, free: 1.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002438/0.5725, allocations: 0.8173 MB / 407.1 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000886/0.5734, allocations: 185.7 kB / 407.3 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.5782, allocations: 2.031 MB / 409.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.5783, allocations: 12 kB / 409.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5783, allocations: 0 / 409.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.5783, allocations: 16.05 kB / 409.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.5912, allocations: 4.752 MB / 414.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.5913, allocations: 4.281 kB / 414.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.5926, allocations: 267.6 kB / 414.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.5933, allocations: 199.2 kB / 414.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.5934, allocations: 39.92 kB / 414.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/0.5969, allocations: 3.21 MB / 417.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5969, allocations: 4 kB / 417.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006047/0.6029, allocations: 3.122 MB / 420.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.6046, allocations: 422.7 kB / 421.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007956/0.6054, allocations: 31.92 kB / 421.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.607, allocations: 95.94 kB / 421.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.6072, allocations: 80.83 kB / 421.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.6073, allocations: 32 kB / 421.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003543/0.6109, allocations: 1.224 MB / 422.8 MB, free: 140 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6109, allocations: 0 / 422.8 MB, free: 140 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.002961/0.6139, allocations: 484 kB / 423.3 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,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.0006582/0.6145, allocations: 194.9 kB / 423.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006289/0.6208, allocations: 2.987 MB / 426.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6209, allocations: 4 kB / 426.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.6228, allocations: 1.335 MB / 427.8 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/0.6262, allocations: 0.4987 MB / 428.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.6373, allocations: 4.909 MB / 433.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.6403, allocations: 2.01 MB / 435.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002248/0.6426, allocations: 0.496 MB / 435.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/0.6433, allocations: 143.3 kB / 435.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6433, allocations: 4 kB / 435.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of Templates: time 0.2719/0.9152, allocations: 25.67 MB / 461.5 MB, free: 103.6 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)