Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009118/0.0009118, allocations: 99.86 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.0009159/0.0009159, 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.613/1.613, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.0004496/0.0004499, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 47.57 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01464/0.2406, allocations: 13.35 MB / 339.8 MB, free: 6.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.2524, allocations: 5.229 MB / 345 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.2555, allocations: 79.69 kB / 345.1 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.2583, allocations: 0.9406 MB / 346 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00484/0.2631, allocations: 1.441 MB / 347.5 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.2657, allocations: 0.7212 MB / 348.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00649/0.2722, allocations: 3.385 MB / 351.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/0.2769, allocations: 2.692 MB / 354.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.2799, allocations: 1.541 MB / 355.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003291/0.2832, allocations: 1.871 MB / 357.7 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000979/0.2842, allocations: 248 kB / 357.9 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.286, allocations: 447.7 kB / 358.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.2874, allocations: 0.9344 MB / 359.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.289, allocations: 0.9018 MB / 360.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006972/0.2959, allocations: 6.541 MB / 366.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.296, allocations: 4 kB / 366.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.296, allocations: 0 / 366.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002528/0.2962, allocations: 0 / 366.8 MB, free: 11.02 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.01316/0.3094, allocations: 4.587 MB / 371.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3095, allocations: 11.97 kB / 371.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006203/0.3157, allocations: 0.9977 MB / 372.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007002/0.3227, allocations: 2.645 MB / 375 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.3231, allocations: 312 kB / 375.3 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/0.3243, allocations: 399.9 kB / 375.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.3364, allocations: 5.17 MB / 380.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.3366, allocations: 3.984 kB / 380.9 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006619/0.3372, allocations: 164 kB / 381 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.3374, allocations: 172 kB / 381.2 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009758/0.3472, allocations: 4.447 MB / 385.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03111/0.3784, allocations: 16.91 MB / 402.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008606/0.387, allocations: 8.411 MB / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009638/0.3967, allocations: 4.252 MB / 415.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.3968, allocations: 52.56 kB / 415.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 4.359e-06/0.3968, allocations: 3.938 kB / 415.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=171): time 0.01334/0.4102, allocations: 6.568 MB / 421.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.4102, allocations: 73.41 kB / 421.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.4138, allocations: 2.266 MB / 424.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.414, allocations: 53.7 kB / 424.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001289/0.4153, allocations: 1.821 MB / 426.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005399/0.4159, allocations: 0.5892 MB / 426.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.416, allocations: 40 kB / 426.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4162, allocations: 398.3 kB / 427.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.4178, allocations: 0.8866 MB / 428 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.4198, allocations: 1.579 MB / 429.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.4218, allocations: 1.162 MB / 430.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.4218, allocations: 4 kB / 430.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005079/0.4269, allocations: 2.977 MB / 433.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.4269, allocations: 18.81 kB / 433.7 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/0.427, allocations: 24 kB / 433.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.4273, allocations: 125.6 kB / 433.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.4294, allocations: 0.5697 MB / 434.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.4312, allocations: 1.826 MB / 436.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.433, allocations: 119.8 kB / 436.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.4333, allocations: 96 kB / 436.4 MB, free: 2.695 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.002171/0.4354, allocations: 1.192 MB / 437.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.436, allocations: 245 kB / 437.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.4406, allocations: 2.613 MB / 440.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4406, allocations: 16 kB / 440.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.4406, allocations: 4 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.4406, allocations: 7.969 kB / 440.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.4517, allocations: 6.073 MB / 446.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.4517, allocations: 7.984 kB / 446.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.4531, allocations: 319.9 kB / 446.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/0.454, allocations: 322.1 kB / 447.2 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.4541, allocations: 43.98 kB / 447.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.4611, allocations: 6.45 MB / 453.7 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4612, allocations: 8.188 kB / 453.7 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1674/0.6285, allocations: 3.93 MB / 457.7 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.6298, allocations: 0.5075 MB / 458.2 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.6302, allocations: 38.27 kB / 458.2 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.6314, allocations: 94.84 kB / 458.3 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.6317, allocations: 130.7 kB / 458.4 MB, free: 106.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.6318, allocations: 52.61 kB / 458.5 MB, free: 106.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002256/0.6341, allocations: 1.525 MB / 460 MB, free: 105.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6341, allocations: 0 / 460 MB, free: 105.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00218/0.6363, allocations: 0.6806 MB / 460.7 MB, free: 105.5 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.0003052/0.6366, allocations: 175.8 kB / 460.9 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.6397, allocations: 2.372 MB / 463.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6397, allocations: 0 / 463.2 MB, free: 104.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.6416, allocations: 1.517 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.002171/0.6438, allocations: 0.555 MB / 465.3 MB, free: 103.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/0.6536, allocations: 8.443 MB / 473.7 MB, free: 98.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/0.6555, allocations: 2.73 MB / 476.5 MB, free: 97.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001824/0.6573, allocations: 0.5651 MB / 477 MB, free: 96.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.6577, allocations: 167.2 kB / 477.2 MB, free: 96.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6577, allocations: 0 / 477.2 MB, free: 96.58 MB / 382.1 MB Notification: Performance of Templates: time 0.04339/0.7011, allocations: 30.22 MB / 0.4955 GB, free: 66.36 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) Environment - environmentSimulation: