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.001043/0.001043, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.537/1.537, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001609/0.001609, allocations: 128.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.387e-05, allocations: 4 kB / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07497/0.07501, allocations: 44.5 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/0.3991, allocations: 113.1 MB / 462.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3993, allocations: 83.95 kB / 462.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.496/0.8954, allocations: 133.5 MB / 0.5822 GB, free: 68.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8954, allocations: 0 / 0.5822 GB, free: 68.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003337/0.8958, allocations: 132.2 kB / 0.5823 GB, free: 68.95 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.01145/0.9072, allocations: 4.765 MB / 0.587 GB, free: 67.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.9073, allocations: 7.25 kB / 0.587 GB, free: 67.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005018/0.9123, allocations: 0.9732 MB / 0.5879 GB, free: 66.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.9229, allocations: 4.485 MB / 0.5923 GB, free: 66.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/0.9235, allocations: 366.8 kB / 0.5927 GB, free: 66.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/0.9256, allocations: 485.1 kB / 0.5931 GB, free: 66.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.9391, allocations: 6.61 MB / 0.5996 GB, free: 64.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.95e-05/0.9393, allocations: 3.938 kB / 0.5996 GB, free: 64.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/0.9398, allocations: 205.4 kB / 0.5998 GB, free: 64.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.94, allocations: 245 kB / 0.6 GB, free: 64.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008822/0.9488, allocations: 5.404 MB / 0.6053 GB, free: 62.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.9795, allocations: 21 MB / 0.6258 GB, free: 48.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/0.987, allocations: 9.832 MB / 0.6354 GB, free: 38.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/0.9901, allocations: 2.406 MB / 0.6377 GB, free: 36.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00965/0.9998, allocations: 6.513 MB / 0.6441 GB, free: 31.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.9999, allocations: 60.56 kB / 0.6442 GB, free: 30.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 4.167e-06/0.9999, allocations: 0 / 0.6442 GB, free: 30.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.01041/1.01, allocations: 7.248 MB / 0.6512 GB, free: 24.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/1.01, allocations: 73.41 kB / 0.6513 GB, free: 24.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/1.014, allocations: 2.612 MB / 0.6539 GB, free: 21.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/1.014, allocations: 65.7 kB / 0.6539 GB, free: 21.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009869/1.015, allocations: 2.164 MB / 0.656 GB, free: 19.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/1.015, allocations: 0.7465 MB / 0.6568 GB, free: 18.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/1.015, allocations: 48 kB / 0.6568 GB, free: 18.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/1.016, allocations: 407 kB / 0.6572 GB, free: 18.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.017, allocations: 1.208 MB / 0.6584 GB, free: 17.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.019, allocations: 1.78 MB / 0.6601 GB, free: 15.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/1.02, allocations: 1.513 MB / 0.6616 GB, free: 13.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.02, allocations: 8 kB / 0.6616 GB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005231/1.026, allocations: 4.038 MB / 0.6655 GB, free: 9.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/1.026, allocations: 15.98 kB / 0.6656 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.026, allocations: 16 kB / 0.6656 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.027, allocations: 0.6477 MB / 0.6662 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/1.029, allocations: 0.5535 MB / 0.6667 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008417/1.038, allocations: 9.991 MB / 0.6765 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/1.04, allocations: 112 kB / 0.6766 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.041, allocations: 99.98 kB / 0.6767 GB, free: 13.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004924/1.041, allocations: 252.3 kB / 0.6769 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/1.042, allocations: 312.2 kB / 0.6772 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/1.048, allocations: 3.785 MB / 0.6809 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.048, allocations: 20 kB / 0.681 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/1.048, allocations: 12 kB / 0.681 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.872e-05/1.048, allocations: 11.95 kB / 0.681 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/1.062, allocations: 8.401 MB / 0.6892 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.062, allocations: 7.938 kB / 0.6892 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.063, allocations: 335.8 kB / 0.6895 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2291/1.293, allocations: 0.8221 MB / 0.6903 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005913/1.293, allocations: 60.23 kB / 0.6904 GB, free: 78.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/1.307, allocations: 14.35 MB / 0.7044 GB, free: 70.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.307, allocations: 7.703 kB / 0.7044 GB, free: 70.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009501/1.317, allocations: 5.665 MB / 0.7099 GB, free: 69.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001877/1.319, allocations: 0.6956 MB / 0.7106 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004637/1.319, allocations: 59.19 kB / 0.7107 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.321, allocations: 121 kB / 0.7108 GB, free: 69.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/1.321, allocations: 192.6 kB / 0.711 GB, free: 69.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.321, allocations: 61.47 kB / 0.711 GB, free: 69.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002728/1.324, allocations: 2 MB / 0.713 GB, free: 69.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.324, allocations: 0 / 0.713 GB, free: 69.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002819/1.327, allocations: 0.9795 MB / 0.7139 GB, free: 69.2 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(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.0006964/1.327, allocations: 492.1 kB / 0.7144 GB, free: 69.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004708/1.332, allocations: 3.724 MB / 0.718 GB, free: 68.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.332, allocations: 3.781 kB / 0.718 GB, free: 68.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003109/1.335, allocations: 2.563 MB / 0.7205 GB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/1.34, allocations: 0.8666 MB / 0.7214 GB, free: 67.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.354, allocations: 7.752 MB / 0.729 GB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003088/1.357, allocations: 3.511 MB / 0.7324 GB, free: 65.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002785/1.359, allocations: 0.7433 MB / 0.7331 GB, free: 65.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/1.36, allocations: 189.6 kB / 0.7333 GB, free: 65.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.36, allocations: 0 / 0.7333 GB, free: 65.12 MB / 410.7 MB Notification: Performance of Templates: time 0.07774/1.438, allocations: 51.45 MB / 0.7835 GB, free: 49.57 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)