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.001337/0.001337, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.295/1.295, allocations: 194.3 MB / 203.1 MB, free: 9.262 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001378/0.001378, allocations: 120.7 kB / 248.1 MB, free: 6.363 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.548e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08265/0.08268, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.3841, allocations: 112.5 MB / 455 MB, free: 15.81 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.3843, allocations: 90.58 kB / 455.1 MB, free: 15.77 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5052/0.8895, allocations: 131.8 MB / 0.5732 GB, free: 68.15 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8896, allocations: 0 / 0.5732 GB, free: 68.15 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004058/0.89, allocations: 124.1 kB / 0.5733 GB, free: 68.13 MB / 395.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.01396/0.9039, allocations: 4.762 MB / 0.578 GB, free: 66.22 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.904, allocations: 10.31 kB / 0.578 GB, free: 66.22 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/0.9108, allocations: 0.9818 MB / 0.5789 GB, free: 65.86 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.9213, allocations: 4.477 MB / 0.5833 GB, free: 63.64 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.9215, allocations: 157.7 kB / 0.5834 GB, free: 63.64 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.9229, allocations: 290 kB / 0.5837 GB, free: 63.63 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009054/0.9319, allocations: 5.105 MB / 0.5887 GB, free: 61.43 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009492/0.9414, allocations: 5.91 MB / 0.5945 GB, free: 58.79 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.074e-05/0.9416, allocations: 3.906 kB / 0.5945 GB, free: 58.78 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004156/0.942, allocations: 7.188 kB / 0.5945 GB, free: 58.78 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.9422, allocations: 235.9 kB / 0.5947 GB, free: 58.76 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.9695, allocations: 20.02 MB / 0.6143 GB, free: 47.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006559/0.9761, allocations: 9.701 MB / 0.6237 GB, free: 37.45 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002848/0.979, allocations: 2.306 MB / 0.626 GB, free: 35.14 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008975/0.988, allocations: 6.294 MB / 0.6321 GB, free: 28.8 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.9881, allocations: 60.56 kB / 0.6322 GB, free: 28.73 MB / 395.1 MB Notification: Performance of pre-optimization done (n=217): time 4.769e-06/0.9881, allocations: 0 / 0.6322 GB, free: 28.73 MB / 395.1 MB Notification: Performance of matching and sorting (n=224): time 0.01106/0.9991, allocations: 7.251 MB / 0.6393 GB, free: 21.4 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.9992, allocations: 73.41 kB / 0.6393 GB, free: 21.32 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/1.002, allocations: 2.099 MB / 0.6414 GB, free: 19.2 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.002, allocations: 25.7 kB / 0.6414 GB, free: 19.17 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008402/1.003, allocations: 2.165 MB / 0.6435 GB, free: 16.98 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/1.003, allocations: 0.7197 MB / 0.6442 GB, free: 16.25 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.003, allocations: 0 / 0.6442 GB, free: 16.25 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/1.003, allocations: 407 kB / 0.6446 GB, free: 15.85 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.005, allocations: 1.157 MB / 0.6458 GB, free: 14.69 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.006, allocations: 1.717 MB / 0.6474 GB, free: 12.73 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/1.008, allocations: 1.583 MB / 0.649 GB, free: 11.16 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.008, allocations: 8 kB / 0.649 GB, free: 11.15 MB / 395.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005389/1.013, allocations: 3.882 MB / 0.6528 GB, free: 7.223 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.014, allocations: 15.95 kB / 0.6528 GB, free: 7.207 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.014, allocations: 16 kB / 0.6528 GB, free: 7.191 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/1.015, allocations: 0.6391 MB / 0.6534 GB, free: 6.539 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/1.017, allocations: 0.5578 MB / 0.654 GB, free: 5.98 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2348/1.252, allocations: 9.612 MB / 0.6634 GB, free: 59.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/1.254, allocations: 61.41 kB / 0.6634 GB, free: 59.72 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/1.255, allocations: 102.5 kB / 0.6635 GB, free: 59.72 MB / 395.1 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.0004554/1.255, allocations: 167.2 kB / 0.6637 GB, free: 59.62 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/1.255, allocations: 278.8 kB / 0.6639 GB, free: 59.62 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/1.261, allocations: 3.666 MB / 0.6675 GB, free: 59.25 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.262, allocations: 32.52 kB / 0.6676 GB, free: 59.24 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.262, allocations: 11.56 kB / 0.6676 GB, free: 59.24 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.262, allocations: 9.047 kB / 0.6676 GB, free: 59.24 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/1.274, allocations: 7.665 MB / 0.6751 GB, free: 58.56 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.274, allocations: 3.25 kB / 0.6751 GB, free: 58.56 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.276, allocations: 339.8 kB / 0.6754 GB, free: 58.56 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.278, allocations: 0.8061 MB / 0.6762 GB, free: 58.51 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/1.278, allocations: 25.34 kB / 0.6762 GB, free: 58.51 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.29, allocations: 13.85 MB / 0.6897 GB, free: 51.02 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.29, allocations: 3.656 kB / 0.6897 GB, free: 51.02 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009548/1.299, allocations: 5.554 MB / 0.6951 GB, free: 50.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.301, allocations: 0.6418 MB / 0.6958 GB, free: 50.14 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/1.301, allocations: 20.97 kB / 0.6958 GB, free: 50.14 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/1.303, allocations: 83.41 kB / 0.6959 GB, free: 50.14 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005304/1.303, allocations: 191.6 kB / 0.6961 GB, free: 50.13 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.304, allocations: 61.81 kB / 0.6961 GB, free: 50.13 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002911/1.307, allocations: 1.572 MB / 0.6977 GB, free: 49.99 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.307, allocations: 0 / 0.6977 GB, free: 49.99 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003794/1.31, allocations: 0.8588 MB / 0.6985 GB, free: 49.99 MB / 395.1 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.0008891/1.311, allocations: 410.3 kB / 0.6989 GB, free: 49.89 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005635/1.317, allocations: 3.558 MB / 0.7024 GB, free: 48.48 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.317, allocations: 4.438 kB / 0.7024 GB, free: 48.48 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/1.32, allocations: 2.45 MB / 0.7048 GB, free: 47.14 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/1.324, allocations: 0.6225 MB / 0.7054 GB, free: 47 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.336, allocations: 7.539 MB / 0.7127 GB, free: 44.07 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002814/1.339, allocations: 3.519 MB / 0.7162 GB, free: 42.73 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002551/1.342, allocations: 0.6886 MB / 0.7168 GB, free: 42.66 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/1.342, allocations: 173.1 kB / 0.717 GB, free: 42.64 MB / 395.1 MB Notification: Performance of SimCode: time 8.42e-07/1.342, allocations: 0 / 0.717 GB, free: 42.64 MB / 395.1 MB Notification: Performance of Templates: time 0.0589/1.401, allocations: 38.58 MB / 0.7547 GB, free: 38.69 MB / 395.1 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)