Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 85.48 kB / 16.31 MB, free: 6.449 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.0008206/0.0008207, allocations: 179.1 kB / 17.21 MB, free: 6.32 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.561/1.561, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.000438/0.0004381, allocations: 16 kB / 280.2 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01552/0.2443, allocations: 14.6 MB / 342.3 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.2553, allocations: 5.068 MB / 347.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.2584, allocations: 83.62 kB / 347.5 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.262, allocations: 0.944 MB / 348.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006001/0.268, allocations: 1.313 MB / 349.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.2709, allocations: 0.7173 MB / 350.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007242/0.2782, allocations: 4.954 MB / 355.4 MB, free: 7.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004671/0.2829, allocations: 2.677 MB / 358.1 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.2857, allocations: 1.584 MB / 359.7 MB, free: 3.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003588/0.2893, allocations: 2.042 MB / 361.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.2904, allocations: 252 kB / 362 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.2925, allocations: 459.7 kB / 362.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.2939, allocations: 0.9769 MB / 363.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2956, allocations: 0.9018 MB / 364.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.3029, allocations: 6.576 MB / 370.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.303, allocations: 0 / 370.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.303, allocations: 0 / 370.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002321/0.3032, allocations: 0 / 370.9 MB, free: 8.234 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.0118/0.315, allocations: 4.598 MB / 375.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3151, allocations: 8.031 kB / 375.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.3206, allocations: 0.9977 MB / 376.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/0.3266, allocations: 2.637 MB / 379.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/0.327, allocations: 308.1 kB / 379.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.3282, allocations: 399.8 kB / 379.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.3417, allocations: 5.197 MB / 385 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.3419, allocations: 7.938 kB / 385 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007347/0.3426, allocations: 164 kB / 385.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.3428, allocations: 172 kB / 385.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009619/0.3525, allocations: 4.447 MB / 389.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/0.3826, allocations: 16.94 MB / 406.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008629/0.3912, allocations: 8.435 MB / 415.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/0.3945, allocations: 1.729 MB / 416.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.4049, allocations: 4.993 MB / 421.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.896e-05/0.405, allocations: 51.88 kB / 421.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 6.883e-06/0.405, allocations: 0 / 421.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.01492/0.42, allocations: 6.205 MB / 428.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.4201, allocations: 72.7 kB / 428.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/0.4251, allocations: 2.298 MB / 430.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.4253, allocations: 53.7 kB / 430.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.4269, allocations: 1.844 MB / 432.4 MB, free: 8.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000658/0.4276, allocations: 0.5469 MB / 432.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.4278, allocations: 44 kB / 433 MB, free: 7.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.4281, allocations: 386.2 kB / 433.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.4299, allocations: 0.8553 MB / 434.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.432, allocations: 1.571 MB / 435.8 MB, free: 4.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.4341, allocations: 1.126 MB / 436.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/0.4342, allocations: 11.94 kB / 436.9 MB, free: 3.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005238/0.4394, allocations: 2.899 MB / 439.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.4395, allocations: 14.81 kB / 439.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/0.4395, allocations: 27.98 kB / 439.9 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.4399, allocations: 130.2 kB / 440 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4419, allocations: 0.55 MB / 440.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.4437, allocations: 1.826 MB / 442.4 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.4455, allocations: 119.9 kB / 442.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.4457, allocations: 92 kB / 442.6 MB, free: 13.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 267 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002251/0.448, allocations: 1.2 MB / 443.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/0.4486, allocations: 241.1 kB / 444 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.4532, allocations: 2.468 MB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4532, allocations: 19.94 kB / 446.5 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.4532, allocations: 4 kB / 446.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4533, allocations: 7.969 kB / 446.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.4644, allocations: 5.83 MB / 452.3 MB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4644, allocations: 4 kB / 452.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.4657, allocations: 299.8 kB / 452.6 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000937/0.4667, allocations: 322.2 kB / 452.9 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.4668, allocations: 39.98 kB / 453 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2171/0.6839, allocations: 6.375 MB / 459.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6839, allocations: 3.469 kB / 459.4 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005963/0.6899, allocations: 3.594 MB / 463 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.6912, allocations: 0.4962 MB / 463.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.6915, allocations: 34.91 kB / 463.5 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.6926, allocations: 95.39 kB / 463.6 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.6929, allocations: 119.3 kB / 463.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.646e-05/0.693, allocations: 50.36 kB / 463.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002468/0.6955, allocations: 1.557 MB / 465.3 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6955, allocations: 0 / 465.3 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002186/0.6977, allocations: 0.6702 MB / 466 MB, free: 103 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003483/0.698, allocations: 172.2 kB / 466.1 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003176/0.7012, allocations: 2.282 MB / 468.4 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7012, allocations: 3.969 kB / 468.4 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.7031, allocations: 1.45 MB / 469.9 MB, free: 101.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.7056, allocations: 0.5855 MB / 470.5 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.7157, allocations: 8.364 MB / 478.8 MB, free: 96.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.7175, allocations: 2.671 MB / 481.5 MB, free: 93.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001736/0.7192, allocations: 0.5474 MB / 482 MB, free: 93.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.7196, allocations: 159.4 kB / 482.2 MB, free: 93.22 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7196, allocations: 0 / 482.2 MB, free: 93.22 MB / 382.1 MB Notification: Performance of Templates: time 0.04424/0.7638, allocations: 30.1 MB / 0.5003 GB, free: 63.1 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1)