Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005853/0.005853, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001223/0.001223, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.558/1.558, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001327/0.001327, allocations: 49.2 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 46.63 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02888/0.1403, allocations: 24.97 MB / 398.2 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.1622, allocations: 7.724 MB / 405.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007274/0.1695, allocations: 151.6 kB / 406.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02219/0.1918, allocations: 8.358 MB / 414.4 MB, free: 7.902 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.01334/0.2052, allocations: 3.035 MB / 417.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006988/0.2122, allocations: 1.808 MB / 419.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01797/0.2302, allocations: 11.2 MB / 430.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04504/0.2753, allocations: 23.34 MB / 453.8 MB, free: 284 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2752/0.5505, allocations: 5.972 MB / 459.8 MB, free: 24.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01514/0.5657, allocations: 6.536 MB / 466.3 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008014/0.5737, allocations: 1.725 MB / 468 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.5841, allocations: 2.114 MB / 470.2 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007356/0.5915, allocations: 3.456 MB / 473.6 MB, free: 22.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.6051, allocations: 6.429 MB / 480 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02793/0.6331, allocations: 23.2 MB / 0.4915 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6331, allocations: 5.031 kB / 0.4915 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6331, allocations: 0 / 0.4915 GB, free: 5.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007375/0.6339, allocations: 0 / 0.4915 GB, free: 5.734 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: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04397/0.6779, allocations: 13.8 MB / 0.5049 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.6779, allocations: 12.03 kB / 0.5049 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04108/0.719, allocations: 7.3 MB / 0.5121 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/0.7348, allocations: 6.513 MB / 0.5184 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/0.736, allocations: 0.7333 MB / 0.5191 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006319/0.7424, allocations: 0.9686 MB / 0.5201 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05262/0.795, allocations: 16.6 MB / 0.5363 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003472/0.7954, allocations: 16.8 kB / 0.5363 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00414/0.7996, allocations: 404.5 kB / 0.5367 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006525/0.8002, allocations: 0.5908 MB / 0.5373 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03774/0.838, allocations: 15.8 MB / 0.5527 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/0.9474, allocations: 53.38 MB / 0.6048 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02758/0.975, allocations: 22.72 MB / 0.627 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008146/0.9832, allocations: 3.807 MB / 0.6307 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2884/1.272, allocations: 11.69 MB / 0.6422 GB, free: 174.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/1.272, allocations: 70.16 kB / 0.6422 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=357): time 5.53e-06/1.272, allocations: 0 / 0.6422 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=362): time 0.03877/1.31, allocations: 17.65 MB / 0.6595 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.311, allocations: 89.53 kB / 0.6595 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0062/1.317, allocations: 4.768 MB / 0.6642 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006557/1.317, allocations: 86.55 kB / 0.6643 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002479/1.32, allocations: 4.63 MB / 0.6688 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/1.321, allocations: 1.311 MB / 0.6701 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0018/1.323, allocations: 1.193 MB / 0.6713 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/1.323, allocations: 308.1 kB / 0.6715 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/1.327, allocations: 2.895 MB / 0.6744 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/1.332, allocations: 5.269 MB / 0.6795 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/1.341, allocations: 8.642 MB / 0.688 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.326e-05/1.341, allocations: 23.53 kB / 0.688 GB, free: 149.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01624/1.357, allocations: 9.637 MB / 0.6974 GB, free: 146 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/1.358, allocations: 40.38 kB / 0.6974 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/1.358, allocations: 78.97 kB / 0.6975 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00344/1.361, allocations: 1.428 MB / 0.6989 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004766/1.366, allocations: 1.335 MB / 0.7002 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/1.381, allocations: 12.68 MB / 0.7126 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00558/1.387, allocations: 371.6 kB / 0.7129 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.388, allocations: 307.9 kB / 0.7132 GB, free: 131.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 355 * 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 (689): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,45.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007758/1.396, allocations: 3.924 MB / 0.7171 GB, free: 127.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/1.397, allocations: 467.5 kB / 0.7175 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.41, allocations: 6.766 MB / 0.7241 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008861/1.419, allocations: 5.58 MB / 0.7296 GB, free: 114.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.082e-05/1.419, allocations: 16 kB / 0.7296 GB, free: 114.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/1.419, allocations: 23.88 kB / 0.7296 GB, free: 114.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03316/1.452, allocations: 15.44 MB / 0.7447 GB, free: 98.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/1.453, allocations: 4.594 kB / 0.7447 GB, free: 98.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.456, allocations: 0.6709 MB / 0.7454 GB, free: 98.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.46, allocations: 1.299 MB / 0.7466 GB, free: 96.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006761/1.46, allocations: 83.98 kB / 0.7467 GB, free: 96.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.476, allocations: 11.57 MB / 0.758 GB, free: 84.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.476, allocations: 16 kB / 0.758 GB, free: 84.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.49, allocations: 10.02 MB / 0.7678 GB, free: 74.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/1.493, allocations: 1.041 MB / 0.7688 GB, free: 73.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/1.494, allocations: 67.98 kB / 0.7689 GB, free: 73.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/1.498, allocations: 219.8 kB / 0.7691 GB, free: 73.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008135/1.498, allocations: 275.1 kB / 0.7694 GB, free: 73.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003626/1.499, allocations: 112 kB / 0.7695 GB, free: 72.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006658/1.505, allocations: 3.233 MB / 0.7726 GB, free: 69.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/1.505, allocations: 0 / 0.7726 GB, free: 69.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009661/1.515, allocations: 1.703 MB / 0.7743 GB, free: 68.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (333): * Single equations (assignments): 330 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (14,54,43.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0021/1.517, allocations: 0.5046 MB / 0.7748 GB, free: 67.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01524/1.533, allocations: 7.54 MB / 0.7821 GB, free: 59.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.533, allocations: 4 kB / 0.7821 GB, free: 59.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007739/1.54, allocations: 3.607 MB / 0.7857 GB, free: 56.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008703/1.549, allocations: 1.032 MB / 0.7867 GB, free: 55.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/1.59, allocations: 18.03 MB / 0.8043 GB, free: 37.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/1.603, allocations: 6.555 MB / 0.8107 GB, free: 30.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007472/1.611, allocations: 2.106 MB / 0.8127 GB, free: 28.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/1.613, allocations: 351.4 kB / 0.8131 GB, free: 28.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.613, allocations: 0 / 0.8131 GB, free: 28.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.4233/2.036, allocations: 68.3 MB / 0.8798 GB, free: 138.4 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1)