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.0055/0.0055, allocations: 100.9 kB / 15.73 MB, free: 6 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.001192/0.001192, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.503/1.503, 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.001175/0.001175, allocations: 50.53 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03012/0.1372, allocations: 29.42 MB / 402.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.1567, allocations: 8.136 MB / 410.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008571/0.1654, allocations: 171.4 kB / 410.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00783/0.1733, allocations: 1.936 MB / 412.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.1869, allocations: 2.651 MB / 415.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.1936, allocations: 1.766 MB / 417.3 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01609/0.2097, allocations: 10.22 MB / 427.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.2213, allocations: 9.464 MB / 437 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007305/0.2287, allocations: 4.747 MB / 441.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009592/0.2383, allocations: 5.538 MB / 447.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004072/0.2424, allocations: 1.367 MB / 448.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006249/0.2487, allocations: 1.718 MB / 450.3 MB, free: 3.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006338/0.255, allocations: 3.019 MB / 453.4 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3055/0.5606, allocations: 5.659 MB / 459 MB, free: 23.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02825/0.5889, allocations: 17.57 MB / 476.6 MB, free: 20.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.589, allocations: 1.219 kB / 476.6 MB, free: 20.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.589, allocations: 0 / 476.6 MB, free: 20.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007562/0.5898, allocations: 5.625 kB / 476.6 MB, free: 20.18 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.05017/0.6399, allocations: 11.19 MB / 487.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.64, allocations: 11.83 kB / 487.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/0.6541, allocations: 2.127 MB / 489.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/0.6689, allocations: 5.909 MB / 495.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006228/0.6695, allocations: 0.6446 MB / 496.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004023/0.6736, allocations: 0.8431 MB / 497.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03144/0.705, allocations: 11.43 MB / 0.4968 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/0.7053, allocations: 4 kB / 0.4968 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002577/0.7079, allocations: 367.4 kB / 0.4972 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002919/0.7082, allocations: 377.5 kB / 0.4975 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/0.7325, allocations: 9.632 MB / 0.5069 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07158/0.8042, allocations: 35.35 MB / 0.5415 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01984/0.824, allocations: 16.93 MB / 0.558 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008083/0.8322, allocations: 3.494 MB / 0.5614 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0218/0.854, allocations: 9.679 MB / 0.5709 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.044e-05/0.8541, allocations: 64.97 kB / 0.5709 GB, free: 3.996 MB / 462.1 MB Notification: Performance of pre-optimization done (n=308): time 6.842e-06/0.8542, allocations: 0 / 0.5709 GB, free: 3.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=360): time 0.04223/0.8964, allocations: 15.44 MB / 0.586 GB, free: 4.422 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.8965, allocations: 86.22 kB / 0.5861 GB, free: 4.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01152/0.908, allocations: 4.442 MB / 0.5904 GB, free: 15.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009722/0.9091, allocations: 89.7 kB / 0.5905 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003882/0.913, allocations: 3.997 MB / 0.5944 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00203/0.915, allocations: 1.284 MB / 0.5957 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/0.9178, allocations: 0.7888 MB / 0.5964 GB, free: 9.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.918, allocations: 305.1 kB / 0.5967 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/0.9226, allocations: 1.891 MB / 0.5986 GB, free: 7.508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/0.9275, allocations: 3.355 MB / 0.6019 GB, free: 3.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008384/0.9359, allocations: 5.607 MB / 0.6073 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.049e-05/0.936, allocations: 12 kB / 0.6073 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=587) (initialization): time 0.01222/0.9482, allocations: 6.53 MB / 0.6137 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.9483, allocations: 28 kB / 0.6137 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-05/0.9484, allocations: 44 kB / 0.6138 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.9505, allocations: 0.7347 MB / 0.6145 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.9547, allocations: 1.062 MB / 0.6155 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.967, allocations: 11 MB / 0.6263 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005873/0.9729, allocations: 235.8 kB / 0.6265 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008294/0.9738, allocations: 211.1 kB / 0.6267 GB, free: 9.379 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.006812/0.9806, allocations: 2.543 MB / 0.6292 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/0.9822, allocations: 0.5007 MB / 0.6297 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009872/0.9921, allocations: 5.395 MB / 0.6349 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/0.9922, allocations: 39.94 kB / 0.635 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.9922, allocations: 12 kB / 0.635 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.9922, allocations: 19.92 kB / 0.635 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2643/1.257, allocations: 12.8 MB / 0.6475 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.257, allocations: 2.688 kB / 0.6475 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.259, allocations: 0.6043 MB / 0.6481 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/1.261, allocations: 0.9022 MB / 0.649 GB, free: 183.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/1.261, allocations: 85.81 kB / 0.6491 GB, free: 183.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/1.274, allocations: 15.28 MB / 0.664 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.274, allocations: 18.14 kB / 0.664 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01169/1.286, allocations: 7.97 MB / 0.6718 GB, free: 168.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003195/1.289, allocations: 0.9876 MB / 0.6728 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007702/1.29, allocations: 81.45 kB / 0.6728 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.292, allocations: 194.7 kB / 0.673 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.293, allocations: 276.4 kB / 0.6733 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002157/1.293, allocations: 104.8 kB / 0.6734 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004397/1.297, allocations: 3.011 MB / 0.6763 GB, free: 167 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.31e-07/1.297, allocations: 0 / 0.6763 GB, free: 167 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004702/1.302, allocations: 1.457 MB / 0.6778 GB, free: 165.5 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.0005607/1.303, allocations: 249.3 kB / 0.678 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007509/1.31, allocations: 5.603 MB / 0.6835 GB, free: 160.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.31, allocations: 0 / 0.6835 GB, free: 160.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/1.315, allocations: 3.403 MB / 0.6868 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/1.32, allocations: 1.156 MB / 0.6879 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02483/1.345, allocations: 15.03 MB / 0.7026 GB, free: 142 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/1.349, allocations: 5.072 MB / 0.7075 GB, free: 136.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003679/1.353, allocations: 1.064 MB / 0.7086 GB, free: 135.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/1.354, allocations: 327.4 kB / 0.7089 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/1.354, allocations: 0 / 0.7089 GB, free: 135.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.09735/1.451, allocations: 64.47 MB / 0.7719 GB, free: 71.02 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)