Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009992/0.0009993, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001088/0.001089, allocations: 196 kB / 18 MB, free: 5.051 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.405/1.405, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001293/0.001293, allocations: 59.91 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08826, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.1804/0.2687, allocations: 13.57 MB / 388.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00822/0.2769, allocations: 4.443 MB / 392.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00264/0.2796, allocations: 67.75 kB / 392.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.2828, allocations: 0.9995 MB / 393.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.2874, allocations: 1.307 MB / 394.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.2902, allocations: 0.8995 MB / 395.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00637/0.2965, allocations: 4.111 MB / 399.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005152/0.3017, allocations: 3.187 MB / 403.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.3058, allocations: 1.884 MB / 405 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/0.3102, allocations: 2.092 MB / 407.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.3119, allocations: 0.5085 MB / 407.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.3146, allocations: 0.7095 MB / 408.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.3162, allocations: 1.111 MB / 409.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.3194, allocations: 2.142 MB / 411.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007046/0.3264, allocations: 6.715 MB / 418.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3265, allocations: 0 / 418.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3265, allocations: 5.188 kB / 418.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3266, allocations: 0 / 418.3 MB, free: 3.609 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.01058/0.3372, allocations: 4.491 MB / 422.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3373, allocations: 12.03 kB / 422.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/0.3414, allocations: 0.83 MB / 423.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.3456, allocations: 2.304 MB / 425.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3458, allocations: 242.8 kB / 426.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.3462, allocations: 320.3 kB / 426.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006996/0.3532, allocations: 4.274 MB / 430.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-05/0.3533, allocations: 0 / 430.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/0.3537, allocations: 132 kB / 430.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.3538, allocations: 150.4 kB / 431 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00644/0.3603, allocations: 3.594 MB / 434.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.3843, allocations: 13.74 MB / 448.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.3915, allocations: 6.575 MB / 454.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/0.394, allocations: 1.39 MB / 456.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006493/0.4005, allocations: 3.632 MB / 459.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.4006, allocations: 55.81 kB / 460 MB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 6.242e-06/0.4006, allocations: 7.984 kB / 460 MB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01203/0.4126, allocations: 5.911 MB / 465.9 MB, free: 2.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.4127, allocations: 64.72 kB / 466 MB, free: 2.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.4157, allocations: 1.788 MB / 467.7 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.4158, allocations: 53.7 kB / 467.8 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009968/0.4168, allocations: 1.474 MB / 469.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4172, allocations: 499.7 kB / 469.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/0.4177, allocations: 323.4 kB / 470.1 MB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.4178, allocations: 301.1 kB / 470.4 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.419, allocations: 0.6793 MB / 471.1 MB, free: 13.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.4204, allocations: 1.201 MB / 472.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.4231, allocations: 1.995 MB / 474.2 MB, free: 9.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.4231, allocations: 4 kB / 474.3 MB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004103/0.4272, allocations: 2.56 MB / 476.8 MB, free: 7.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4272, allocations: 12 kB / 476.8 MB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.4273, allocations: 16 kB / 476.8 MB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009499/0.4282, allocations: 360.1 kB / 477.2 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4296, allocations: 379.4 kB / 477.6 MB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.4372, allocations: 8.415 MB / 486 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4389, allocations: 75.92 kB / 486 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.4391, allocations: 75.98 kB / 486.1 MB, free: 13.11 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.002118/0.4412, allocations: 1.005 MB / 487.1 MB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/0.4418, allocations: 202.7 kB / 487.3 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.4461, allocations: 2.293 MB / 489.6 MB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4461, allocations: 12 kB / 489.6 MB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.211e-05/0.4462, allocations: 8 kB / 489.6 MB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4462, allocations: 7.969 kB / 489.6 MB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009368/0.4556, allocations: 5.075 MB / 494.7 MB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.4556, allocations: 3.984 kB / 494.7 MB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.4564, allocations: 180 kB / 494.9 MB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.4579, allocations: 0.5358 MB / 495.4 MB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.458, allocations: 31.98 kB / 495.5 MB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.4705, allocations: 13.23 MB / 0.4968 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.4706, allocations: 11.95 kB / 0.4968 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005221/0.4758, allocations: 3.223 MB / 0.4999 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009713/0.4768, allocations: 435.7 kB / 0.5003 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/0.4773, allocations: 39.94 kB / 0.5004 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.4785, allocations: 67.94 kB / 0.5005 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.4787, allocations: 105.1 kB / 0.5006 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-05/0.4788, allocations: 39.98 kB / 0.5006 GB, free: 1.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.481, allocations: 1.223 MB / 0.5018 GB, free: 248 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.481, allocations: 4 kB / 0.5018 GB, free: 244 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002544/0.4836, allocations: 0.5704 MB / 0.5023 GB, free: 15.66 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.000343/0.4839, allocations: 163.5 kB / 0.5025 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.4877, allocations: 2.366 MB / 0.5048 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4877, allocations: 4 kB / 0.5048 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/0.4903, allocations: 1.757 MB / 0.5065 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/0.4939, allocations: 0.5409 MB / 0.5071 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5043, allocations: 5.927 MB / 0.5128 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.5067, allocations: 2.303 MB / 0.5151 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001498/0.5083, allocations: 401 kB / 0.5155 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.5087, allocations: 123.4 kB / 0.5156 GB, free: 1.848 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5087, allocations: 0 / 0.5156 GB, free: 1.848 MB / 446.1 MB Notification: Performance of Templates: time 0.05397/0.5627, allocations: 30.24 MB / 0.5451 GB, free: 3.551 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1)