Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 91.66 kB / 16.3 MB, free: 6.457 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.001081/0.001081, allocations: 182.7 kB / 17.2 MB, free: 6.34 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.458/1.458, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004924/0.0004926, allocations: 12 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 47.59 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01545/0.1162, allocations: 13.47 MB / 341.2 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.128, allocations: 5.499 MB / 346.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003363/0.1314, allocations: 91.56 kB / 346.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004035/0.1355, allocations: 1.046 MB / 347.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005879/0.1414, allocations: 1.515 MB / 349.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.1443, allocations: 0.7017 MB / 350 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008147/0.1525, allocations: 4.164 MB / 354.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007489/0.16, allocations: 3.478 MB / 357.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.1645, allocations: 1.938 MB / 359.6 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.1694, allocations: 2.327 MB / 361.9 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.171, allocations: 324 kB / 362.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.1736, allocations: 0.5348 MB / 362.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.1759, allocations: 1.238 MB / 364 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002377/0.1783, allocations: 1.14 MB / 365.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.1889, allocations: 8.527 MB / 373.7 MB, free: 5.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1889, allocations: 4 kB / 373.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.646e-06/0.1889, allocations: 0 / 373.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004032/0.1893, allocations: 0 / 373.7 MB, free: 5.906 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01734/0.2067, allocations: 5.52 MB / 379.2 MB, free: 312 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2067, allocations: 8.031 kB / 379.2 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1989/0.4057, allocations: 1.055 MB / 380.3 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009232/0.4149, allocations: 3.264 MB / 383.5 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000681/0.4156, allocations: 367.9 kB / 383.9 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/0.4178, allocations: 484.7 kB / 384.4 MB, free: 43.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.4421, allocations: 6.811 MB / 391.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002537/0.4424, allocations: 3.438 kB / 391.2 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001524/0.4439, allocations: 200.7 kB / 391.4 MB, free: 40.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006797/0.4446, allocations: 241.5 kB / 391.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.4632, allocations: 5.921 MB / 397.5 MB, free: 37.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.5052, allocations: 20.99 MB / 418.5 MB, free: 18.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007794/0.5131, allocations: 9.951 MB / 428.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009979/0.5231, allocations: 5.433 MB / 433.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.5232, allocations: 60.56 kB / 434 MB, free: 2.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=227): time 5.109e-06/0.5232, allocations: 3.844 kB / 434 MB, free: 2.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.0208/0.544, allocations: 9.823 MB / 443.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.5441, allocations: 85.34 kB / 443.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005794/0.5499, allocations: 2.917 MB / 446.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.5503, allocations: 69.7 kB / 446.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/0.5522, allocations: 2.147 MB / 449 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009503/0.5532, allocations: 0.7882 MB / 449.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.5535, allocations: 52 kB / 449.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.5537, allocations: 411.3 kB / 450.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/0.5563, allocations: 1.325 MB / 451.6 MB, free: 300 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.5592, allocations: 1.941 MB / 453.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/0.5621, allocations: 1.634 MB / 455.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.5621, allocations: 4 kB / 455.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.00803/0.5702, allocations: 4.303 MB / 459.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.5702, allocations: 16.45 kB / 459.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.5703, allocations: 28 kB / 459.5 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.573, allocations: 0.7784 MB / 460.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.5755, allocations: 0.5811 MB / 460.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.587, allocations: 10.21 MB / 471.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.5896, allocations: 116 kB / 471.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/0.5901, allocations: 100 kB / 471.3 MB, free: 11.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 279 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003425/0.5935, allocations: 1.613 MB / 472.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000989/0.5945, allocations: 324.1 kB / 473.2 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/0.6022, allocations: 4.008 MB / 477.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.6023, allocations: 20 kB / 477.2 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/0.6023, allocations: 12 kB / 477.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/0.6023, allocations: 11.95 kB / 477.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.6214, allocations: 8.701 MB / 486 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.6214, allocations: 3.953 kB / 486 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.6232, allocations: 371.8 kB / 486.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/0.6266, allocations: 0.9339 MB / 487.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003298/0.627, allocations: 63.97 kB / 487.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/0.6441, allocations: 14.64 MB / 0.4902 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/0.6442, allocations: 4 kB / 0.4902 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.6547, allocations: 6.019 MB / 0.4961 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/0.6569, allocations: 0.6924 MB / 0.4968 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.6579, allocations: 55.98 kB / 0.4968 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/0.6601, allocations: 127.9 kB / 0.4969 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005185/0.6606, allocations: 195.1 kB / 0.4971 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.6609, allocations: 68.5 kB / 0.4972 GB, free: 4.691 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004011/0.6649, allocations: 2.003 MB / 0.4991 GB, free: 2.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6649, allocations: 0 / 0.4991 GB, free: 2.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00449/0.6694, allocations: 0.9466 MB / 0.5001 GB, free: 1.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008072/0.6702, allocations: 223.5 kB / 0.5003 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007343/0.6776, allocations: 3.974 MB / 0.5042 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.6776, allocations: 4.312 kB / 0.5042 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004532/0.6822, allocations: 2.705 MB / 0.5068 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/0.6867, allocations: 0.8386 MB / 0.5076 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/0.708, allocations: 11.29 MB / 0.5187 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004931/0.7129, allocations: 3.523 MB / 0.5221 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003168/0.7161, allocations: 0.7527 MB / 0.5228 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008132/0.717, allocations: 199.4 kB / 0.523 GB, free: 9.992 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.717, allocations: 0 / 0.523 GB, free: 9.992 MB / 430.1 MB Notification: Performance of Templates: time 0.2406/0.9576, allocations: 46.98 MB / 0.5689 GB, free: 121.4 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) Environment - environmentSimulation: