Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.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.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005538/0.005545, allocations: 104.7 kB / 15.74 MB, free: 6.035 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.001157/0.001157, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.48/1.48, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.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.001184/0.001184, allocations: 50.78 kB / 326.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09625, allocations: 46.62 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03036/0.1266, allocations: 29.42 MB / 402.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.1463, allocations: 8.132 MB / 410.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007719/0.1541, allocations: 171.4 kB / 410.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007826/0.162, allocations: 1.979 MB / 412.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.1767, allocations: 2.741 MB / 415.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0085/0.1852, allocations: 1.774 MB / 417.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.017/0.2023, allocations: 10.22 MB / 427.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02103/0.2233, allocations: 9.456 MB / 437.1 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.2342, allocations: 4.782 MB / 441.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.2463, allocations: 5.546 MB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005928/0.2523, allocations: 1.363 MB / 448.8 MB, free: 5.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009352/0.2617, allocations: 1.714 MB / 450.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006825/0.2686, allocations: 3.027 MB / 453.5 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2856/0.5542, allocations: 5.649 MB / 459.2 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02981/0.584, allocations: 17.54 MB / 476.7 MB, free: 20.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5841, allocations: 0 / 476.7 MB, free: 20.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5841, allocations: 0 / 476.7 MB, free: 20.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006469/0.5848, allocations: 0 / 476.7 MB, free: 20.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.04031/0.6251, allocations: 10.97 MB / 487.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.6251, allocations: 13.67 kB / 487.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.6385, allocations: 2.077 MB / 489.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/0.6543, allocations: 5.878 MB / 495.6 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000535/0.6549, allocations: 0.6352 MB / 496.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004546/0.6595, allocations: 0.842 MB / 497.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03575/0.6953, allocations: 11.43 MB / 0.4966 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/0.6956, allocations: 11.91 kB / 0.4966 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/0.6982, allocations: 359.8 kB / 0.497 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/0.6985, allocations: 373.5 kB / 0.4973 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02845/0.727, allocations: 9.632 MB / 0.5068 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08687/0.8139, allocations: 35.24 MB / 0.5412 GB, free: 4.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/0.8322, allocations: 16.94 MB / 0.5577 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007349/0.8395, allocations: 3.483 MB / 0.5611 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02181/0.8614, allocations: 9.662 MB / 0.5705 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.8615, allocations: 68.97 kB / 0.5706 GB, free: 4.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=308): time 6.592e-06/0.8615, allocations: 0 / 0.5706 GB, free: 4.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=360): time 0.03798/0.8995, allocations: 15.31 MB / 0.5856 GB, free: 4.996 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.8997, allocations: 90.22 kB / 0.5856 GB, free: 4.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/0.9105, allocations: 4.438 MB / 0.59 GB, free: 464 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008346/0.9114, allocations: 92.83 kB / 0.5901 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002844/0.9143, allocations: 3.889 MB / 0.5939 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.9157, allocations: 1.219 MB / 0.5951 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.917, allocations: 0.7923 MB / 0.5958 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.9171, allocations: 301.1 kB / 0.5961 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.9203, allocations: 1.891 MB / 0.598 GB, free: 8.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.9244, allocations: 3.352 MB / 0.6012 GB, free: 4.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008074/0.9325, allocations: 5.607 MB / 0.6067 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/0.9326, allocations: 16 kB / 0.6067 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01195/0.9445, allocations: 6.515 MB / 0.6131 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.9446, allocations: 24 kB / 0.6131 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.98e-05/0.9447, allocations: 44 kB / 0.6132 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.9466, allocations: 0.7318 MB / 0.6139 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/0.9506, allocations: 1.062 MB / 0.6149 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.9622, allocations: 11 MB / 0.6256 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/0.9685, allocations: 235.6 kB / 0.6259 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008386/0.9693, allocations: 204 kB / 0.6261 GB, free: 10.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,13,100.0%), (1,5,100.0%), (2,13,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005578/0.9749, allocations: 2.548 MB / 0.6286 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/0.9762, allocations: 486.1 kB / 0.629 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009823/0.9861, allocations: 5.392 MB / 0.6343 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.9861, allocations: 39.94 kB / 0.6343 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.9862, allocations: 15.94 kB / 0.6343 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/0.9862, allocations: 19.92 kB / 0.6344 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2877/1.274, allocations: 12.8 MB / 0.6468 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/1.274, allocations: 3.938 kB / 0.6469 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.276, allocations: 0.6093 MB / 0.6474 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/1.279, allocations: 0.9028 MB / 0.6483 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/1.279, allocations: 83.34 kB / 0.6484 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.292, allocations: 15.27 MB / 0.6633 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.292, allocations: 7.875 kB / 0.6633 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.305, allocations: 7.948 MB / 0.6711 GB, free: 169 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004979/1.31, allocations: 0.9654 MB / 0.672 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002248/1.312, allocations: 86.42 kB / 0.6721 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.316, allocations: 180.1 kB / 0.6723 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007871/1.316, allocations: 277.8 kB / 0.6726 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002508/1.317, allocations: 105 kB / 0.6727 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006717/1.323, allocations: 3.01 MB / 0.6756 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.323, allocations: 2.062 kB / 0.6756 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00694/1.33, allocations: 1.47 MB / 0.677 GB, free: 166 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,13,100.0%), (2,13,100.0%), (4,33,93.8%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007714/1.331, allocations: 240.4 kB / 0.6773 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008985/1.34, allocations: 5.591 MB / 0.6827 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.34, allocations: 4 kB / 0.6827 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005058/1.345, allocations: 3.391 MB / 0.686 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/1.353, allocations: 1.156 MB / 0.6872 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/1.385, allocations: 14.79 MB / 0.7016 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008641/1.394, allocations: 5.069 MB / 0.7066 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004202/1.398, allocations: 1.064 MB / 0.7076 GB, free: 137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.399, allocations: 323.4 kB / 0.7079 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.914e-06/1.399, allocations: 0 / 0.7079 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1037/1.503, allocations: 64.47 MB / 0.7709 GB, free: 72.28 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)