Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001217/0.001217, allocations: 115.2 kB / 17.06 MB, free: 6 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.001184/0.001184, allocations: 191 kB / 18 MB, free: 5.078 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.628/1.628, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001302/0.001302, allocations: 51.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1257, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.3137/0.4395, allocations: 10.88 MB / 385.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009964/0.4495, allocations: 3.674 MB / 389.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.4527, allocations: 56.91 kB / 389.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.4559, allocations: 0.8127 MB / 389.9 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004704/0.4606, allocations: 0.8574 MB / 390.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4626, allocations: 470.6 kB / 391.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.4684, allocations: 2.949 MB / 394.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004791/0.4732, allocations: 2.688 MB / 396.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.4763, allocations: 1.362 MB / 398.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003914/0.4802, allocations: 1.752 MB / 400 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.4817, allocations: 373.5 kB / 400.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.4841, allocations: 479.2 kB / 400.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.4863, allocations: 1.076 MB / 401.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004817/0.4911, allocations: 1.675 MB / 403.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007157/0.4983, allocations: 4.892 MB / 408.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4983, allocations: 0 / 408.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4983, allocations: 0 / 408.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.4985, allocations: 0.9062 kB / 408.5 MB, free: 10.7 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.008056/0.5065, allocations: 3.467 MB / 411.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5066, allocations: 11.64 kB / 411.9 MB, free: 8.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/0.5075, allocations: 353.8 kB / 412.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/0.5104, allocations: 1.719 MB / 414 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.5107, allocations: 187.2 kB / 414.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.5111, allocations: 259.1 kB / 414.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007114/0.5182, allocations: 3.279 MB / 417.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.5183, allocations: 7.953 kB / 417.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.5185, allocations: 104 kB / 417.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.5187, allocations: 124.9 kB / 418 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.5232, allocations: 2.748 MB / 420.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/0.5399, allocations: 10.43 MB / 431.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.5417, allocations: 1.354 MB / 432.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.5429, allocations: 0.7473 MB / 433.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.5432, allocations: 207.2 kB / 433.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5432, allocations: 43.56 kB / 433.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/0.5433, allocations: 0 / 433.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.01617/0.5594, allocations: 7.082 MB / 440.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5595, allocations: 69.33 kB / 440.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.5631, allocations: 1.789 MB / 442.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5632, allocations: 45.7 kB / 442.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.5642, allocations: 1.314 MB / 443.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.5646, allocations: 444.3 kB / 444.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.5652, allocations: 299.4 kB / 444.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5653, allocations: 305.1 kB / 444.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.5665, allocations: 0.7769 MB / 445.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.5682, allocations: 1.297 MB / 446.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.5712, allocations: 2.211 MB / 449.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.5712, allocations: 7.938 kB / 449.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004879/0.5761, allocations: 2.483 MB / 451.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.5761, allocations: 16.03 kB / 451.6 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.5762, allocations: 16 kB / 451.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.5769, allocations: 247.2 kB / 451.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5784, allocations: 415.3 kB / 452.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.5817, allocations: 3.242 MB / 455.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.5836, allocations: 123.8 kB / 455.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.5838, allocations: 75.94 kB / 455.7 MB, free: 12.77 MB / 382.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.001759/0.5856, allocations: 0.8174 MB / 456.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/0.5862, allocations: 194.9 kB / 456.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.5901, allocations: 2.043 MB / 458.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5901, allocations: 12 kB / 458.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.5901, allocations: 4 kB / 458.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.5901, allocations: 7.969 kB / 458.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009089/0.5992, allocations: 4.737 MB / 463.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.5993, allocations: 0 / 463.5 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.6004, allocations: 267.9 kB / 463.8 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.601, allocations: 199.3 kB / 464 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.6011, allocations: 27.98 kB / 464 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002871/0.604, allocations: 3.218 MB / 467.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.604, allocations: 7.969 kB / 467.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.6088, allocations: 3.125 MB / 470.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.6099, allocations: 435.7 kB / 470.8 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/0.6104, allocations: 35.98 kB / 470.8 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.6117, allocations: 91.88 kB / 470.9 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.6119, allocations: 76.89 kB / 471 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.142e-05/0.612, allocations: 32 kB / 471 MB, free: 12.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.6145, allocations: 1.224 MB / 472.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6146, allocations: 4 kB / 472.2 MB, free: 11.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002337/0.6169, allocations: 487.9 kB / 472.7 MB, free: 11.26 MB / 398.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.0004642/0.6174, allocations: 191 kB / 472.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00377/0.6212, allocations: 2.358 MB / 475.2 MB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6212, allocations: 0 / 475.2 MB, free: 8.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.6231, allocations: 1.335 MB / 476.6 MB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/0.6259, allocations: 0.4973 MB / 477.1 MB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6368, allocations: 4.923 MB / 482 MB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.6397, allocations: 2.014 MB / 484 MB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0021/0.6418, allocations: 0.4999 MB / 484.5 MB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.6425, allocations: 135.4 kB / 484.6 MB, free: 15.06 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6425, allocations: 0 / 484.6 MB, free: 15.06 MB / 414.1 MB Notification: Performance of Templates: time 0.05276/0.6952, allocations: 26.21 MB / 0.4989 GB, free: 4.809 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)