Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007778/0.007778, allocations: 100 kB / 15.73 MB, free: 6.023 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.001691/0.001691, allocations: 191.9 kB / 16.67 MB, free: 5.957 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.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001141/0.001141, allocations: 54.38 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09464, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.02314/0.1178, allocations: 24.04 MB / 397.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.1338, allocations: 7.117 MB / 404.4 MB, free: 2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004688/0.1386, allocations: 131.5 kB / 404.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.1446, allocations: 1.575 MB / 406.1 MB, free: 296 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009267/0.154, allocations: 2.267 MB / 408.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004951/0.1589, allocations: 1.47 MB / 409.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01261/0.1716, allocations: 7.2 MB / 417 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.1828, allocations: 5.478 MB / 422.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.1885, allocations: 3.169 MB / 425.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006728/0.1953, allocations: 3.829 MB / 429.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.1982, allocations: 0.875 MB / 430.4 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.2031, allocations: 1.3 MB / 431.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003655/0.2067, allocations: 2.131 MB / 433.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.2174, allocations: 3.777 MB / 437.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02564/0.2431, allocations: 11.49 MB / 449.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.2432, allocations: 0 / 449.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.2432, allocations: 0 / 449.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005152/0.2437, allocations: 7.875 kB / 449.1 MB, free: 5.07 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.2819/0.5257, allocations: 7.583 MB / 456.6 MB, free: 63.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.5258, allocations: 9.406 kB / 456.7 MB, free: 63.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008812/0.5346, allocations: 1.253 MB / 457.9 MB, free: 62.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.5453, allocations: 3.943 MB / 461.8 MB, free: 60.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/0.5457, allocations: 430.5 kB / 462.3 MB, free: 60.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.5478, allocations: 0.5568 MB / 462.8 MB, free: 60.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.5656, allocations: 7.273 MB / 470.1 MB, free: 57.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001803/0.5658, allocations: 16.62 kB / 470.1 MB, free: 57.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006431/0.5665, allocations: 238.2 kB / 470.3 MB, free: 57.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.5667, allocations: 258 kB / 470.6 MB, free: 57.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.5797, allocations: 6.11 MB / 476.7 MB, free: 53.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/0.6249, allocations: 23.47 MB / 0.4885 GB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.6323, allocations: 8.709 MB / 0.497 GB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/0.6361, allocations: 2.363 MB / 0.4993 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/0.6471, allocations: 6.94 MB / 0.506 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.6472, allocations: 60.56 kB / 0.5061 GB, free: 13.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 5.21e-06/0.6472, allocations: 0 / 0.5061 GB, free: 13.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=282): time 0.03338/0.6806, allocations: 13.81 MB / 0.5196 GB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.6807, allocations: 81.59 kB / 0.5197 GB, free: 15.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/0.6871, allocations: 3.432 MB / 0.523 GB, free: 11.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006727/0.6878, allocations: 73.7 kB / 0.5231 GB, free: 11.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/0.69, allocations: 2.748 MB / 0.5258 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001338/0.6914, allocations: 1.013 MB / 0.5268 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.6925, allocations: 0.6491 MB / 0.5274 GB, free: 7.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6926, allocations: 305.1 kB / 0.5277 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/0.6954, allocations: 1.549 MB / 0.5292 GB, free: 5.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003352/0.6988, allocations: 2.767 MB / 0.5319 GB, free: 2.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006268/0.7051, allocations: 4.602 MB / 0.5364 GB, free: 12.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.7051, allocations: 12 kB / 0.5364 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.009925/0.715, allocations: 5.488 MB / 0.5418 GB, free: 7.246 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.7151, allocations: 20 kB / 0.5418 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/0.7152, allocations: 40 kB / 0.5418 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.7168, allocations: 0.6664 MB / 0.5425 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003449/0.7203, allocations: 0.8657 MB / 0.5433 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.7311, allocations: 10.36 MB / 0.5534 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004907/0.7361, allocations: 227.7 kB / 0.5537 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008716/0.737, allocations: 164 kB / 0.5538 GB, free: 10.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (430): * Single equations (assignments): 420 * Array equations: 4 * 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 {(3,12,100.0%), (1,3,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004136/0.7412, allocations: 1.621 MB / 0.5554 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/0.7425, allocations: 409.4 kB / 0.5558 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008866/0.7514, allocations: 4.518 MB / 0.5602 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/0.7515, allocations: 28 kB / 0.5602 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/0.7515, allocations: 8 kB / 0.5602 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/0.7516, allocations: 11.95 kB / 0.5602 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/0.7708, allocations: 9.903 MB / 0.5699 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.7708, allocations: 8 kB / 0.5699 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/0.773, allocations: 0.496 MB / 0.5704 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.775, allocations: 0.7386 MB / 0.5711 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002494/0.7753, allocations: 67.97 kB / 0.5712 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.7885, allocations: 14.13 MB / 0.585 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7885, allocations: 4 kB / 0.585 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/0.8, allocations: 6.62 MB / 0.5915 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/0.8026, allocations: 0.7912 MB / 0.5922 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/0.8037, allocations: 63.98 kB / 0.5923 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/0.806, allocations: 167.8 kB / 0.5925 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005195/0.8065, allocations: 213.6 kB / 0.5927 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.8067, allocations: 79.97 kB / 0.5927 GB, free: 1.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003853/0.8106, allocations: 2.307 MB / 0.595 GB, free: 14.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.8106, allocations: 0 / 0.595 GB, free: 14.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006118/0.8167, allocations: 1.097 MB / 0.5961 GB, free: 13.67 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (238): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.8178, allocations: 283.3 kB / 0.5963 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008934/0.8267, allocations: 4.684 MB / 0.6009 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.8268, allocations: 0 / 0.6009 GB, free: 8.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004846/0.8316, allocations: 2.846 MB / 0.6037 GB, free: 5.664 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005816/0.8375, allocations: 0.9039 MB / 0.6046 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/0.8592, allocations: 10.59 MB / 0.6149 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004292/0.8635, allocations: 3.499 MB / 0.6183 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003368/0.8669, allocations: 0.8562 MB / 0.6192 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/0.8678, allocations: 259.4 kB / 0.6194 GB, free: 5.391 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.8678, allocations: 3.938 kB / 0.6194 GB, free: 5.387 MB / 494.1 MB Notification: Performance of Templates: time 0.3038/1.172, allocations: 51.64 MB / 0.6698 GB, free: 130.8 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator.pipe 2>&1)