Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005847/0.005847, allocations: 95.8 kB / 15.73 MB, free: 6.039 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.001205/0.001205, allocations: 202.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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001165/0.001165, allocations: 47.94 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09931, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.2041/0.3035, allocations: 13.58 MB / 386.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008276/0.3118, allocations: 4.438 MB / 391.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3144, allocations: 67.81 kB / 391.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.3172, allocations: 1.045 MB / 392.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004841/0.3221, allocations: 1.341 MB / 393.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.3246, allocations: 0.907 MB / 394.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006385/0.331, allocations: 4.105 MB / 398.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005382/0.3364, allocations: 3.191 MB / 401.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.3402, allocations: 1.899 MB / 403.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004769/0.3449, allocations: 2.093 MB / 405.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001527/0.3465, allocations: 0.5085 MB / 406.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.3492, allocations: 0.709 MB / 407.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.3507, allocations: 1.111 MB / 408.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004952/0.3557, allocations: 2.141 MB / 410.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3659, allocations: 6.721 MB / 417 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3659, allocations: 0 / 417 MB, free: 3.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3659, allocations: 3.938 kB / 417 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001692/0.3661, allocations: 0 / 417 MB, free: 3.578 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01198/0.3781, allocations: 4.492 MB / 421.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3781, allocations: 8.031 kB / 421.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/0.3823, allocations: 0.83 MB / 422.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004398/0.3867, allocations: 2.296 MB / 424.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.3869, allocations: 246.8 kB / 424.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/0.3875, allocations: 320.3 kB / 425.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007188/0.3947, allocations: 4.278 MB / 429.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.139e-05/0.3948, allocations: 0 / 429.5 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.3951, allocations: 136 kB / 429.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.3952, allocations: 146.4 kB / 429.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005833/0.4011, allocations: 3.594 MB / 433.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02083/0.4219, allocations: 13.74 MB / 447.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/0.4287, allocations: 6.568 MB / 453.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.4312, allocations: 1.398 MB / 455.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006934/0.4382, allocations: 3.628 MB / 458.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.4383, allocations: 63.81 kB / 458.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.757e-06/0.4383, allocations: 0 / 458.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01279/0.4511, allocations: 5.915 MB / 464.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.4512, allocations: 72.66 kB / 464.7 MB, free: 2.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.454, allocations: 1.78 MB / 466.5 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/0.4541, allocations: 49.7 kB / 466.6 MB, free: 468 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.4552, allocations: 1.474 MB / 468 MB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004269/0.4557, allocations: 0.4919 MB / 468.5 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005153/0.4562, allocations: 319.4 kB / 468.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4563, allocations: 301.1 kB / 469.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.4575, allocations: 0.6871 MB / 469.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.459, allocations: 1.197 MB / 471 MB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.4617, allocations: 1.995 MB / 473 MB, free: 9.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.4618, allocations: 4 kB / 473 MB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004375/0.4661, allocations: 2.552 MB / 475.6 MB, free: 6.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4662, allocations: 12 kB / 475.6 MB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/0.4662, allocations: 16 kB / 475.6 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.4673, allocations: 368.2 kB / 476 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.4688, allocations: 375.4 kB / 476.3 MB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.477, allocations: 8.415 MB / 484.8 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.4788, allocations: 75.92 kB / 484.8 MB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.4789, allocations: 76.17 kB / 484.9 MB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001898/0.4808, allocations: 1.009 MB / 485.9 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004026/0.4812, allocations: 202.7 kB / 486.1 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/0.4854, allocations: 2.286 MB / 488.4 MB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4854, allocations: 19.94 kB / 488.4 MB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.4855, allocations: 8 kB / 488.4 MB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4855, allocations: 7.969 kB / 488.4 MB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008646/0.4941, allocations: 5.067 MB / 493.5 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.4942, allocations: 0 / 493.5 MB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008301/0.495, allocations: 187.9 kB / 493.7 MB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.4965, allocations: 0.5319 MB / 494.2 MB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4966, allocations: 35.98 kB / 494.2 MB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.5092, allocations: 13.23 MB / 0.4956 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5093, allocations: 4.031 kB / 0.4956 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.5146, allocations: 3.231 MB / 0.4987 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.5158, allocations: 435.7 kB / 0.4992 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.5161, allocations: 39.94 kB / 0.4992 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.5169, allocations: 59.95 kB / 0.4992 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.5172, allocations: 109.2 kB / 0.4994 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.5173, allocations: 39.98 kB / 0.4994 GB, free: 1.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.519, allocations: 1.223 MB / 0.5006 GB, free: 176 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.753e-06/0.5191, allocations: 0 / 0.5006 GB, free: 176 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002242/0.5213, allocations: 0.5781 MB / 0.5012 GB, free: 15.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000302/0.5216, allocations: 166.9 kB / 0.5013 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.5251, allocations: 2.358 MB / 0.5036 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5251, allocations: 0 / 0.5036 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.5276, allocations: 1.765 MB / 0.5053 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.5298, allocations: 0.5421 MB / 0.5059 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009909/0.5398, allocations: 5.927 MB / 0.5117 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00208/0.5419, allocations: 2.303 MB / 0.5139 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001437/0.5433, allocations: 401 kB / 0.5143 GB, free: 1.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.5436, allocations: 127.4 kB / 0.5144 GB, free: 1.773 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5437, allocations: 0 / 0.5144 GB, free: 1.773 MB / 446.1 MB Notification: Performance of Templates: time 0.05616/0.5998, allocations: 30.23 MB / 0.5439 GB, free: 3.484 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)