Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001113/0.001113, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001183/0.001183, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.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.0004658/0.0004663, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01663/0.2938, allocations: 13.36 MB / 339.8 MB, free: 6.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.307, allocations: 5.222 MB / 345 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.3109, allocations: 79.69 kB / 345.1 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003535/0.3144, allocations: 0.9367 MB / 346 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.32, allocations: 1.445 MB / 347.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.3227, allocations: 0.7134 MB / 348.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006692/0.3294, allocations: 3.393 MB / 351.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003442/0.3328, allocations: 2.692 MB / 354.3 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002743/0.3356, allocations: 1.541 MB / 355.8 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.3381, allocations: 1.871 MB / 357.7 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.3386, allocations: 248 kB / 357.9 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3397, allocations: 439.7 kB / 358.4 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007982/0.3405, allocations: 0.9383 MB / 359.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.3416, allocations: 0.9057 MB / 360.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.3478, allocations: 6.541 MB / 366.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3479, allocations: 0 / 366.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3479, allocations: 0 / 366.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.3481, allocations: 4 kB / 366.8 MB, free: 11.04 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.01321/0.3613, allocations: 4.587 MB / 371.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.3614, allocations: 8.031 kB / 371.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.3677, allocations: 0.9977 MB / 372.4 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007793/0.3755, allocations: 2.649 MB / 375 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.3758, allocations: 304.1 kB / 375.3 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000891/0.3767, allocations: 403.8 kB / 375.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009539/0.3863, allocations: 5.17 MB / 380.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.125e-05/0.3864, allocations: 0 / 380.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/0.3868, allocations: 164 kB / 381 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.3869, allocations: 176 kB / 381.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008149/0.3951, allocations: 4.447 MB / 385.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02817/0.4233, allocations: 16.91 MB / 402.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007787/0.4311, allocations: 8.419 MB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008098/0.4393, allocations: 4.248 MB / 415.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.4394, allocations: 56.56 kB / 415.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 3.617e-06/0.4394, allocations: 3.938 kB / 415.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=171): time 0.01374/0.4531, allocations: 6.572 MB / 421.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4532, allocations: 69.41 kB / 421.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.457, allocations: 2.262 MB / 424.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.4572, allocations: 57.7 kB / 424.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4587, allocations: 1.817 MB / 426.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/0.4595, allocations: 0.5814 MB / 426.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4596, allocations: 48 kB / 426.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.4599, allocations: 394.3 kB / 427.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.4615, allocations: 0.8866 MB / 428 MB, free: 11.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.4637, allocations: 1.583 MB / 429.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4656, allocations: 1.158 MB / 430.7 MB, free: 8.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.4656, allocations: 8 kB / 430.7 MB, free: 8.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005332/0.471, allocations: 2.97 MB / 433.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.471, allocations: 18.8 kB / 433.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.4711, allocations: 28.03 kB / 433.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.4714, allocations: 129.6 kB / 433.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.4735, allocations: 0.5617 MB / 434.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.4757, allocations: 1.838 MB / 436.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.4778, allocations: 120 kB / 436.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.4781, allocations: 95.98 kB / 436.5 MB, free: 2.699 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (276): * Single equations (assignments): 274 * 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.002872/0.4809, allocations: 1.192 MB / 437.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006375/0.4816, allocations: 249 kB / 437.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/0.4865, allocations: 2.601 MB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4866, allocations: 16 kB / 440.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.4866, allocations: 4 kB / 440.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.4866, allocations: 7.969 kB / 440.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.498, allocations: 6.089 MB / 446.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.4981, allocations: 4 kB / 446.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.4995, allocations: 319.9 kB / 446.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008141/0.5003, allocations: 322.1 kB / 447.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.5004, allocations: 39.98 kB / 447.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006458/0.5069, allocations: 6.442 MB / 453.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5069, allocations: 4 kB / 453.7 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1914/0.6983, allocations: 3.937 MB / 457.7 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.7, allocations: 0.5081 MB / 458.2 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.7004, allocations: 43.23 kB / 458.2 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7016, allocations: 93.41 kB / 458.3 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.7019, allocations: 129.2 kB / 458.4 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.702, allocations: 48.95 kB / 458.5 MB, free: 106.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002534/0.7046, allocations: 1.529 MB / 460 MB, free: 105.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7046, allocations: 0 / 460 MB, free: 105.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00246/0.7071, allocations: 0.6766 MB / 460.7 MB, free: 105.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 140 * 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.000359/0.7074, allocations: 176.8 kB / 460.9 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003479/0.7109, allocations: 2.37 MB / 463.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7109, allocations: 4 kB / 463.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002036/0.713, allocations: 1.512 MB / 464.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.7154, allocations: 0.555 MB / 465.3 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.7275, allocations: 8.435 MB / 473.7 MB, free: 98.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.7297, allocations: 2.736 MB / 476.5 MB, free: 97.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002105/0.7318, allocations: 0.5572 MB / 477 MB, free: 96.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.7322, allocations: 166.8 kB / 477.2 MB, free: 96.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7323, allocations: 0 / 477.2 MB, free: 96.61 MB / 382.1 MB Notification: Performance of Templates: time 0.04654/0.7788, allocations: 30.22 MB / 0.4955 GB, free: 66.41 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) Environment - environmentSimulation: