Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 108 kB / 15.61 MB, free: 152 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.001642/0.001642, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.534/1.534, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001459/0.00146, allocations: 51.94 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.291, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02777/0.3188, allocations: 27.08 MB / 352.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01845/0.3373, allocations: 7.989 MB / 360.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007712/0.3451, allocations: 171.4 kB / 360.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02215/0.3673, allocations: 9.359 MB / 369.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.3804, allocations: 3.369 MB / 373.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.3868, allocations: 1.836 MB / 375.1 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01827/0.4051, allocations: 12.2 MB / 387.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04856/0.4537, allocations: 24.52 MB / 411.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01238/0.4661, allocations: 6.511 MB / 418.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01308/0.4792, allocations: 7.3 MB / 425.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006405/0.4857, allocations: 1.855 MB / 427.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007698/0.4934, allocations: 2.222 MB / 429.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005961/0.4994, allocations: 3.675 MB / 433.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01443/0.5138, allocations: 7.004 MB / 440.4 MB, free: 336 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4238/0.9377, allocations: 24.63 MB / 465 MB, free: 52.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.9378, allocations: 1.406 kB / 465.1 MB, free: 52.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.9378, allocations: 0 / 465.1 MB, free: 52.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008886/0.9387, allocations: 0.875 kB / 465.1 MB, free: 52.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.06367/1.002, allocations: 14.74 MB / 479.8 MB, free: 47.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.002, allocations: 10 kB / 479.8 MB, free: 47.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05261/1.055, allocations: 9.422 MB / 489.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02195/1.077, allocations: 6.882 MB / 496.1 MB, free: 41.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/1.078, allocations: 0.823 MB / 496.9 MB, free: 40.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0076/1.086, allocations: 1.077 MB / 498 MB, free: 39.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05679/1.143, allocations: 18.75 MB / 0.5046 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007539/1.144, allocations: 15.89 kB / 0.5047 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007013/1.151, allocations: 459.5 kB / 0.5051 GB, free: 20.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008376/1.151, allocations: 0.695 MB / 0.5058 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04287/1.194, allocations: 18.21 MB / 0.5236 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.32, allocations: 60.02 MB / 0.5822 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.288/1.609, allocations: 46.71 MB / 0.6278 GB, free: 160.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007727/1.616, allocations: 4.281 MB / 0.632 GB, free: 160.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0205/1.637, allocations: 12.4 MB / 0.6441 GB, free: 155.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/1.637, allocations: 80.33 kB / 0.6441 GB, free: 155.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 4.929e-06/1.637, allocations: 0 / 0.6441 GB, free: 155.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04331/1.68, allocations: 19.3 MB / 0.663 GB, free: 148.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.68, allocations: 92.47 kB / 0.6631 GB, free: 148.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/1.687, allocations: 4.346 MB / 0.6673 GB, free: 145 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009072/1.688, allocations: 89.7 kB / 0.6674 GB, free: 144.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002271/1.69, allocations: 4.833 MB / 0.6721 GB, free: 140.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.691, allocations: 1.345 MB / 0.6734 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/1.693, allocations: 1.269 MB / 0.6747 GB, free: 138.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/1.693, allocations: 305.1 kB / 0.675 GB, free: 138 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/1.697, allocations: 3.126 MB / 0.678 GB, free: 135.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005007/1.702, allocations: 5.738 MB / 0.6836 GB, free: 129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009138/1.712, allocations: 9.448 MB / 0.6929 GB, free: 118.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-05/1.712, allocations: 28 kB / 0.6929 GB, free: 118.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.0145/1.726, allocations: 10.28 MB / 0.7029 GB, free: 108 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/1.726, allocations: 40 kB / 0.703 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.726, allocations: 88.38 kB / 0.703 GB, free: 107.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00347/1.73, allocations: 1.465 MB / 0.7045 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/1.734, allocations: 1.455 MB / 0.7059 GB, free: 105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.748, allocations: 11.47 MB / 0.7171 GB, free: 93.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006028/1.755, allocations: 399.3 kB / 0.7175 GB, free: 92.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/1.756, allocations: 332 kB / 0.7178 GB, free: 92.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (752): * Single equations (assignments): 750 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007974/1.764, allocations: 4.173 MB / 0.7219 GB, free: 88.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/1.765, allocations: 454.5 kB / 0.7223 GB, free: 88.03 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.779, allocations: 7.344 MB / 0.7295 GB, free: 80.64 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01008/1.789, allocations: 6.034 MB / 0.7354 GB, free: 74.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/1.789, allocations: 15.94 kB / 0.7354 GB, free: 74.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.073e-05/1.789, allocations: 19.92 kB / 0.7354 GB, free: 74.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03674/1.826, allocations: 16.39 MB / 0.7514 GB, free: 58.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.826, allocations: 4 kB / 0.7514 GB, free: 58.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003191/1.829, allocations: 0.7216 MB / 0.7521 GB, free: 57.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003557/1.833, allocations: 1.309 MB / 0.7534 GB, free: 56.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007896/1.834, allocations: 87.91 kB / 0.7535 GB, free: 56.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/1.849, allocations: 10.2 MB / 0.7634 GB, free: 45.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.849, allocations: 0 / 0.7634 GB, free: 45.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/1.868, allocations: 10.53 MB / 0.7737 GB, free: 35.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/1.871, allocations: 1.042 MB / 0.7747 GB, free: 34.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/1.873, allocations: 68 kB / 0.7748 GB, free: 33.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/1.876, allocations: 251.8 kB / 0.775 GB, free: 33.73 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/1.878, allocations: 271.5 kB / 0.7753 GB, free: 33.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004736/1.878, allocations: 112 kB / 0.7754 GB, free: 33.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005881/1.884, allocations: 2.904 MB / 0.7782 GB, free: 30.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.884, allocations: 4 kB / 0.7782 GB, free: 30.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009846/1.894, allocations: 1.846 MB / 0.78 GB, free: 28.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.port_p.reference.gamma,speed.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 (360): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/1.895, allocations: 277 kB / 0.7803 GB, free: 28.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02967/1.925, allocations: 14.22 MB / 0.7942 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.925, allocations: 0 / 0.7942 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1919/2.117, allocations: 3.639 MB / 0.7977 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/2.122, allocations: 1.092 MB / 0.7988 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/2.156, allocations: 18.94 MB / 0.8173 GB, free: 158.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00898/2.165, allocations: 7.036 MB / 0.8242 GB, free: 156 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006812/2.171, allocations: 2.243 MB / 0.8264 GB, free: 155.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.173, allocations: 362 kB / 0.8267 GB, free: 155.7 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/2.173, allocations: 2.469 kB / 0.8267 GB, free: 155.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1124/2.285, allocations: 75.29 MB / 0.9002 GB, free: 86.77 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1)