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.001206/0.001206, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001613/0.001613, allocations: 168.7 kB / 15.95 MB, free: 204 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.000428/0.0004282, allocations: 16 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01494/0.2316, allocations: 14.6 MB / 341.1 MB, free: 4.852 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.2422, allocations: 5.06 MB / 346.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.2452, allocations: 83.62 kB / 346.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003367/0.2486, allocations: 0.944 MB / 347.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.253, allocations: 1.313 MB / 348.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2558, allocations: 0.7173 MB / 349.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.2624, allocations: 4.954 MB / 354.2 MB, free: 7.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004833/0.2673, allocations: 2.692 MB / 356.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.2703, allocations: 1.568 MB / 358.4 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003627/0.2739, allocations: 2.038 MB / 360.5 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.2751, allocations: 252 kB / 360.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.2775, allocations: 459.7 kB / 361.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.279, allocations: 0.9769 MB / 362.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.2808, allocations: 0.9057 MB / 363 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006804/0.2876, allocations: 6.576 MB / 369.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2876, allocations: 0 / 369.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2876, allocations: 0 / 369.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002007/0.2879, allocations: 0 / 369.6 MB, free: 8.188 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.01111/0.299, allocations: 4.598 MB / 374.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.299, allocations: 8.031 kB / 374.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/0.3044, allocations: 0.9977 MB / 375.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/0.3097, allocations: 2.625 MB / 377.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.31, allocations: 316.1 kB / 378.1 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/0.3106, allocations: 395.9 kB / 378.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009383/0.32, allocations: 5.201 MB / 383.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.3201, allocations: 7.922 kB / 383.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/0.3205, allocations: 164 kB / 383.9 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.3206, allocations: 172 kB / 384.1 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/0.3287, allocations: 4.451 MB / 388.5 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.3569, allocations: 16.93 MB / 405.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/0.3649, allocations: 8.423 MB / 413.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.3679, allocations: 1.729 MB / 415.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009026/0.377, allocations: 5.004 MB / 420.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3771, allocations: 51.88 kB / 420.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 3.075e-06/0.3771, allocations: 0 / 420.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.01215/0.3892, allocations: 6.217 MB / 426.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3893, allocations: 68.72 kB / 426.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/0.3926, allocations: 2.298 MB / 429.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.3928, allocations: 53.7 kB / 429.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.3941, allocations: 1.844 MB / 431.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.3946, allocations: 0.5469 MB / 431.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3947, allocations: 44 kB / 431.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3949, allocations: 386.2 kB / 432.1 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.3964, allocations: 0.8553 MB / 433 MB, free: 6.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.3983, allocations: 1.564 MB / 434.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.4002, allocations: 1.134 MB / 435.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.4002, allocations: 4 kB / 435.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00495/0.4051, allocations: 2.907 MB / 438.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.4052, allocations: 14.81 kB / 438.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.4052, allocations: 24 kB / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.4056, allocations: 130.1 kB / 438.7 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/0.4076, allocations: 0.5577 MB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.4094, allocations: 1.814 MB / 441.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.4112, allocations: 115.8 kB / 441.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4114, allocations: 100.1 kB / 441.3 MB, free: 13.76 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.00236/0.4138, allocations: 1.196 MB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000476/0.4142, allocations: 241.1 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.4187, allocations: 2.464 MB / 445.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.4187, allocations: 16 kB / 445.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4187, allocations: 8 kB / 445.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.4188, allocations: 7.969 kB / 445.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009881/0.4287, allocations: 5.837 MB / 451.1 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4287, allocations: 4 kB / 451.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.43, allocations: 299.8 kB / 451.4 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.4308, allocations: 322.2 kB / 451.7 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.431, allocations: 39.98 kB / 451.7 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.176/0.607, allocations: 6.377 MB / 458.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6071, allocations: 3.078 kB / 458.1 MB, free: 105.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/0.6126, allocations: 3.592 MB / 461.7 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.6138, allocations: 0.4944 MB / 462.2 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.6141, allocations: 36.16 kB / 462.2 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6151, allocations: 96.25 kB / 462.3 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.6154, allocations: 122.5 kB / 462.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.579e-05/0.6155, allocations: 48.48 kB / 462.5 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002133/0.6176, allocations: 1.554 MB / 464.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6176, allocations: 0 / 464.1 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001906/0.6195, allocations: 0.6741 MB / 464.7 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.0002773/0.6198, allocations: 160.2 kB / 464.9 MB, free: 102.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.623, allocations: 2.29 MB / 467.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.623, allocations: 0 / 467.2 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.6248, allocations: 1.455 MB / 468.6 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.002338/0.6272, allocations: 0.5713 MB / 469.2 MB, free: 101 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/0.637, allocations: 8.381 MB / 477.6 MB, free: 96.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.6388, allocations: 2.659 MB / 480.2 MB, free: 93.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00185/0.6407, allocations: 0.5552 MB / 480.8 MB, free: 93.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.6411, allocations: 163.4 kB / 481 MB, free: 93.17 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6411, allocations: 0 / 481 MB, free: 93.17 MB / 382.1 MB Notification: Performance of Templates: time 0.04434/0.6854, allocations: 30.09 MB / 0.4991 GB, free: 63.05 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile (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)