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.001118/0.001118, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001632/0.001632, allocations: 191 kB / 18 MB, free: 5.207 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001385/0.001385, allocations: 59.91 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09751, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.2112/0.3087, allocations: 16.59 MB / 391.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3195, allocations: 5.438 MB / 396.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.3238, allocations: 93.78 kB / 396.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.328, allocations: 1.25 MB / 397.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00648/0.3345, allocations: 1.598 MB / 399.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.3381, allocations: 1.066 MB / 400.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0092/0.3473, allocations: 5.109 MB / 405.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.3575, allocations: 3.839 MB / 409.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007536/0.3651, allocations: 2.167 MB / 411.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007744/0.3729, allocations: 2.606 MB / 414.3 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002648/0.3756, allocations: 0.612 MB / 414.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00419/0.3798, allocations: 0.8329 MB / 415.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003174/0.383, allocations: 1.416 MB / 417.1 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007029/0.39, allocations: 2.635 MB / 419.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4035, allocations: 8.073 MB / 427.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4035, allocations: 4 kB / 427.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4035, allocations: 0 / 427.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003202/0.4039, allocations: 0 / 427.8 MB, free: 10.21 MB / 350.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.01665/0.4205, allocations: 5.382 MB / 433.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4206, allocations: 8.031 kB / 433.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.4262, allocations: 0.9908 MB / 434.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/0.4331, allocations: 2.8 MB / 437 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/0.4335, allocations: 300.5 kB / 437.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.4352, allocations: 399.9 kB / 437.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.4466, allocations: 5.209 MB / 442.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/0.4468, allocations: 11.91 kB / 442.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003638/0.4471, allocations: 160 kB / 443.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.4473, allocations: 176 kB / 443.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008489/0.4558, allocations: 4.439 MB / 447.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.4839, allocations: 16.59 MB / 464.3 MB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007897/0.4919, allocations: 8.421 MB / 472.7 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.4949, allocations: 1.69 MB / 474.4 MB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.5055, allocations: 4.947 MB / 479.3 MB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.5056, allocations: 55.88 kB / 479.4 MB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 6.653e-06/0.5057, allocations: 0 / 479.4 MB, free: 4.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01279/0.5185, allocations: 6.111 MB / 485.5 MB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5185, allocations: 68.72 kB / 485.6 MB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00349/0.522, allocations: 2.29 MB / 487.9 MB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.5222, allocations: 49.7 kB / 487.9 MB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.5234, allocations: 1.848 MB / 489.7 MB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004898/0.5239, allocations: 0.5508 MB / 490.3 MB, free: 9.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.5245, allocations: 391.6 kB / 490.7 MB, free: 9.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5246, allocations: 305.1 kB / 491 MB, free: 8.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5261, allocations: 0.8435 MB / 491.8 MB, free: 7.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.5279, allocations: 1.56 MB / 493.4 MB, free: 6.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.5313, allocations: 2.555 MB / 495.9 MB, free: 3.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.5313, allocations: 4 kB / 495.9 MB, free: 3.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004843/0.5362, allocations: 2.876 MB / 498.8 MB, free: 316 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5362, allocations: 24.03 kB / 498.8 MB, free: 292 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.5363, allocations: 24 kB / 498.9 MB, free: 268 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.5366, allocations: 121.7 kB / 499 MB, free: 140 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.5386, allocations: 0.5421 MB / 499.5 MB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.5404, allocations: 1.993 MB / 0.4898 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.5422, allocations: 115.9 kB / 0.4899 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.5423, allocations: 95.98 kB / 0.49 GB, free: 13.26 MB / 430.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002056/0.5444, allocations: 1.196 MB / 0.4911 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/0.5448, allocations: 244.9 kB / 0.4914 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.5489, allocations: 2.433 MB / 0.4937 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5489, allocations: 16 kB / 0.4938 GB, free: 9.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.549, allocations: 8 kB / 0.4938 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.549, allocations: 7.969 kB / 0.4938 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008867/0.5579, allocations: 5.76 MB / 0.4994 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.5579, allocations: 4 kB / 0.4994 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.5591, allocations: 287.5 kB / 0.4997 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008108/0.56, allocations: 318.5 kB / 0.5 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.5601, allocations: 39.98 kB / 0.5 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.5665, allocations: 6.97 MB / 0.5068 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5665, allocations: 0 / 0.5068 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/0.5722, allocations: 3.548 MB / 0.5103 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.5735, allocations: 0.4979 MB / 0.5108 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.5738, allocations: 32 kB / 0.5108 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.5749, allocations: 87.86 kB / 0.5109 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.5753, allocations: 117.1 kB / 0.511 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/0.5754, allocations: 51.98 kB / 0.5111 GB, free: 6.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00239/0.5778, allocations: 1.549 MB / 0.5126 GB, free: 5.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5778, allocations: 0 / 0.5126 GB, free: 5.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00238/0.5802, allocations: 0.6641 MB / 0.5132 GB, free: 4.684 MB / 446.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003923/0.5806, allocations: 178.7 kB / 0.5134 GB, free: 4.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.5843, allocations: 2.267 MB / 0.5156 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5844, allocations: 192 / 0.5156 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.5866, allocations: 1.452 MB / 0.517 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.5893, allocations: 0.5906 MB / 0.5176 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.6011, allocations: 6.88 MB / 0.5243 GB, free: 9.195 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/0.6036, allocations: 2.657 MB / 0.5269 GB, free: 6.516 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001991/0.6056, allocations: 0.5552 MB / 0.5274 GB, free: 5.957 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.6061, allocations: 167.4 kB / 0.5276 GB, free: 5.793 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6061, allocations: 4 kB / 0.5276 GB, free: 5.789 MB / 462.1 MB Notification: Performance of Templates: time 0.2516/0.8577, allocations: 30.81 MB / 0.5577 GB, free: 148.7 MB / 478.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)