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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009448/0.0009447, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.113/1.113, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 110.5 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07164/0.07193, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2493/0.3213, allocations: 113.2 MB / 468.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.3216, allocations: 93.62 kB / 468.4 MB, free: 8.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4278/0.7495, allocations: 133.3 MB / 0.5875 GB, free: 74.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7495, allocations: 3.719 kB / 0.5876 GB, free: 74.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003203/0.7499, allocations: 119.2 kB / 0.5877 GB, free: 74.02 MB / 394.7 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.01224/0.7621, allocations: 5.275 MB / 0.5928 GB, free: 70.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7622, allocations: 12.03 kB / 0.5928 GB, free: 70.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.7667, allocations: 0.9848 MB / 0.5938 GB, free: 69.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008864/0.7756, allocations: 4.514 MB / 0.5982 GB, free: 64.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.7758, allocations: 365.8 kB / 0.5985 GB, free: 64.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00093/0.7767, allocations: 479.3 kB / 0.599 GB, free: 63.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.7876, allocations: 6.738 MB / 0.6056 GB, free: 56.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-05/0.7877, allocations: 11.98 kB / 0.6056 GB, free: 56.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004345/0.7881, allocations: 203.5 kB / 0.6058 GB, free: 56.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.7883, allocations: 237.8 kB / 0.606 GB, free: 56.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007365/0.7957, allocations: 5.586 MB / 0.6115 GB, free: 50.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/0.8194, allocations: 21 MB / 0.632 GB, free: 29.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.8258, allocations: 9.936 MB / 0.6417 GB, free: 18.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007546/0.8334, allocations: 5.494 MB / 0.647 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8335, allocations: 56.56 kB / 0.6471 GB, free: 12.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=227): time 3.145e-06/0.8335, allocations: 0 / 0.6471 GB, free: 12.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=234): time 0.01422/0.8477, allocations: 10.04 MB / 0.6569 GB, free: 2.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.8478, allocations: 77.41 kB / 0.657 GB, free: 2.613 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1668/1.015, allocations: 2.632 MB / 0.6595 GB, free: 68.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005026/1.015, allocations: 64.39 kB / 0.6596 GB, free: 68.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.017, allocations: 2.144 MB / 0.6617 GB, free: 68.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/1.018, allocations: 0.7872 MB / 0.6625 GB, free: 67.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.018, allocations: 52.19 kB / 0.6625 GB, free: 67.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/1.018, allocations: 409 kB / 0.6629 GB, free: 67.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/1.02, allocations: 1.304 MB / 0.6642 GB, free: 67.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/1.022, allocations: 1.871 MB / 0.666 GB, free: 66.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/1.024, allocations: 1.604 MB / 0.6676 GB, free: 66.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.024, allocations: 3.75 kB / 0.6676 GB, free: 66.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.005758/1.029, allocations: 4.239 MB / 0.6717 GB, free: 66.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/1.029, allocations: 16.61 kB / 0.6717 GB, free: 66.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/1.029, allocations: 15.09 kB / 0.6718 GB, free: 66.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/1.031, allocations: 0.6472 MB / 0.6724 GB, free: 66.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.033, allocations: 0.5624 MB / 0.6729 GB, free: 66.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008687/1.042, allocations: 10.21 MB / 0.6829 GB, free: 60.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/1.044, allocations: 111.8 kB / 0.683 GB, free: 60.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/1.045, allocations: 101.4 kB / 0.6831 GB, free: 60.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (277): * Single equations (assignments): 272 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003031/1.048, allocations: 1.615 MB / 0.6847 GB, free: 60.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.048, allocations: 318 kB / 0.685 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/1.055, allocations: 3.998 MB / 0.6889 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.055, allocations: 26.58 kB / 0.6889 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/1.055, allocations: 13.22 kB / 0.6889 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/1.055, allocations: 12.5 kB / 0.6889 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.068, allocations: 8.729 MB / 0.6975 GB, free: 58.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.068, allocations: 4.875 kB / 0.6975 GB, free: 58.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.07, allocations: 362.4 kB / 0.6978 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/1.071, allocations: 0.8169 MB / 0.6986 GB, free: 58.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/1.072, allocations: 56.61 kB / 0.6987 GB, free: 58.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.083, allocations: 14.69 MB / 0.713 GB, free: 47.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.083, allocations: 4.75 kB / 0.713 GB, free: 47.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/1.09, allocations: 6.004 MB / 0.7189 GB, free: 44.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/1.092, allocations: 0.7053 MB / 0.7196 GB, free: 44.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.093, allocations: 57.45 kB / 0.7196 GB, free: 43.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.095, allocations: 127 kB / 0.7197 GB, free: 43.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/1.095, allocations: 196.4 kB / 0.7199 GB, free: 43.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.095, allocations: 63.36 kB / 0.72 GB, free: 43.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00362/1.099, allocations: 2.031 MB / 0.722 GB, free: 43.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.099, allocations: 0 / 0.722 GB, free: 43.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003707/1.103, allocations: 0.9895 MB / 0.7229 GB, free: 43.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000749/1.103, allocations: 450.9 kB / 0.7234 GB, free: 42.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005186/1.109, allocations: 3.96 MB / 0.7272 GB, free: 41.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.109, allocations: 3.594 kB / 0.7272 GB, free: 41.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003275/1.112, allocations: 2.689 MB / 0.7299 GB, free: 39.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.115, allocations: 0.8648 MB / 0.7307 GB, free: 39.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.131, allocations: 11.25 MB / 0.7417 GB, free: 33.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/1.135, allocations: 3.516 MB / 0.7451 GB, free: 32.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002677/1.137, allocations: 0.7496 MB / 0.7459 GB, free: 31.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/1.138, allocations: 198.3 kB / 0.7461 GB, free: 31.98 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/1.138, allocations: 0 / 0.7461 GB, free: 31.98 MB / 394.7 MB Notification: Performance of Templates: time 0.0772/1.215, allocations: 51.13 MB / 0.796 GB, free: 10.14 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (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)