Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0051/0.0051, allocations: 103.4 kB / 15.73 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.001287/0.001287, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001148/0.001148, allocations: 51.52 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03217/0.1408, allocations: 29.4 MB / 402.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.1589, allocations: 8.14 MB / 410.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007904/0.1669, allocations: 175.4 kB / 410.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007737/0.1747, allocations: 1.944 MB / 412.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.012/0.1867, allocations: 2.647 MB / 415.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.1936, allocations: 1.778 MB / 417.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/0.2083, allocations: 10.22 MB / 427.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01433/0.2226, allocations: 9.456 MB / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009646/0.2323, allocations: 4.786 MB / 441.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01191/0.2443, allocations: 5.538 MB / 447.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004901/0.2492, allocations: 1.371 MB / 448.7 MB, free: 5.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/0.2557, allocations: 1.718 MB / 450.4 MB, free: 3.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004091/0.2598, allocations: 3.019 MB / 453.4 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2343/0.4941, allocations: 5.65 MB / 459.1 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02318/0.5174, allocations: 17.53 MB / 476.6 MB, free: 20.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.5174, allocations: 1 kB / 476.6 MB, free: 20.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5175, allocations: 0 / 476.6 MB, free: 20.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006228/0.5181, allocations: 0.5 kB / 476.6 MB, free: 20.25 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.04211/0.5602, allocations: 10.97 MB / 487.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.5603, allocations: 13.83 kB / 487.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.5742, allocations: 2.074 MB / 489.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/0.5888, allocations: 5.877 MB / 495.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/0.5895, allocations: 0.6441 MB / 496.2 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003605/0.5931, allocations: 0.8424 MB / 497 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0317/0.6248, allocations: 11.42 MB / 0.4965 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002878/0.6251, allocations: 7.875 kB / 0.4965 GB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/0.6277, allocations: 359.1 kB / 0.4969 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002731/0.628, allocations: 381.5 kB / 0.4972 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.6531, allocations: 9.624 MB / 0.5066 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08981/0.7429, allocations: 35.24 MB / 0.541 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/0.7625, allocations: 16.93 MB / 0.5576 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007877/0.7704, allocations: 3.502 MB / 0.561 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/0.7908, allocations: 9.656 MB / 0.5704 GB, free: 4.609 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.7909, allocations: 68.34 kB / 0.5705 GB, free: 4.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=308): time 6.532e-06/0.7909, allocations: 4 kB / 0.5705 GB, free: 4.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=360): time 0.03728/0.8282, allocations: 15.31 MB / 0.5854 GB, free: 5.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.8283, allocations: 86.22 kB / 0.5855 GB, free: 4.973 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008486/0.8368, allocations: 4.438 MB / 0.5899 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007521/0.8376, allocations: 92.83 kB / 0.5899 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002786/0.8404, allocations: 3.893 MB / 0.5937 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001595/0.842, allocations: 1.219 MB / 0.5949 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/0.8433, allocations: 0.792 MB / 0.5957 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8434, allocations: 305.1 kB / 0.596 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/0.8468, allocations: 1.89 MB / 0.5978 GB, free: 8.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.8509, allocations: 3.361 MB / 0.6011 GB, free: 4.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007845/0.8588, allocations: 5.603 MB / 0.6066 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.8589, allocations: 12 kB / 0.6066 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01182/0.8707, allocations: 6.506 MB / 0.613 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.8708, allocations: 28.83 kB / 0.613 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.749e-05/0.8709, allocations: 48 kB / 0.613 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.8729, allocations: 0.7271 MB / 0.6137 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004585/0.8775, allocations: 1.064 MB / 0.6148 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.8897, allocations: 10.99 MB / 0.6255 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/0.896, allocations: 239.6 kB / 0.6257 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.8971, allocations: 212 kB / 0.6259 GB, free: 10.25 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.006696/0.9038, allocations: 2.538 MB / 0.6284 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/0.9054, allocations: 490 kB / 0.6289 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.9154, allocations: 5.398 MB / 0.6342 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/0.9155, allocations: 39.94 kB / 0.6342 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.9155, allocations: 12 kB / 0.6342 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.9156, allocations: 19.69 kB / 0.6342 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2906/1.206, allocations: 12.8 MB / 0.6467 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.206, allocations: 3.875 kB / 0.6467 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.209, allocations: 0.6123 MB / 0.6473 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/1.211, allocations: 0.8945 MB / 0.6482 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002463/1.211, allocations: 88.17 kB / 0.6483 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/1.225, allocations: 15.27 MB / 0.6632 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.225, allocations: 3.906 kB / 0.6632 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.238, allocations: 7.952 MB / 0.671 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003804/1.242, allocations: 0.9602 MB / 0.6719 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.243, allocations: 84.56 kB / 0.672 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003072/1.246, allocations: 187.4 kB / 0.6722 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006879/1.247, allocations: 274.7 kB / 0.6724 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.247, allocations: 108.9 kB / 0.6725 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0056/1.253, allocations: 3.01 MB / 0.6755 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.91e-07/1.253, allocations: 0 / 0.6755 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008568/1.261, allocations: 1.46 MB / 0.6769 GB, free: 166.2 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.001125/1.262, allocations: 253.7 kB / 0.6771 GB, free: 166 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009033/1.272, allocations: 5.59 MB / 0.6826 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.272, allocations: 0 / 0.6826 GB, free: 161 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005106/1.277, allocations: 3.398 MB / 0.6859 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007065/1.284, allocations: 1.157 MB / 0.6871 GB, free: 157 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/1.311, allocations: 14.78 MB / 0.7015 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004116/1.316, allocations: 5.074 MB / 0.7064 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003516/1.319, allocations: 1.06 MB / 0.7075 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000878/1.32, allocations: 319.4 kB / 0.7078 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/1.32, allocations: 0 / 0.7078 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.09892/1.419, allocations: 65.36 MB / 0.7716 GB, free: 71.57 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1)