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.001556/0.001556, allocations: 105 kB / 16.62 MB, free: 6.809 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.001769/0.001769, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.464/1.464, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001905/0.001905, allocations: 48.36 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1281, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01798/0.1461, allocations: 16.38 MB / 342.5 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00997/0.1562, allocations: 5.356 MB / 347.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.1597, allocations: 87.62 kB / 348 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.1636, allocations: 1.088 MB / 349.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.1692, allocations: 1.43 MB / 350.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.1721, allocations: 0.9592 MB / 351.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007157/0.1793, allocations: 5.129 MB / 356.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006577/0.1859, allocations: 3.838 MB / 360.4 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.1898, allocations: 2.169 MB / 362.6 MB, free: 140 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.1944, allocations: 2.611 MB / 365.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.1964, allocations: 0.6094 MB / 365.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.1994, allocations: 0.8474 MB / 366.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.201, allocations: 1.422 MB / 368.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.2047, allocations: 2.625 MB / 370.7 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1671/0.3719, allocations: 7.998 MB / 378.7 MB, free: 24.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3719, allocations: 0 / 378.7 MB, free: 24.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3719, allocations: 0.6562 kB / 378.7 MB, free: 24.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00031/0.3722, allocations: 0 / 378.7 MB, free: 24.39 MB / 318.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.0165/0.3888, allocations: 5.363 MB / 384.1 MB, free: 22.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3888, allocations: 9.688 kB / 384.1 MB, free: 22.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00604/0.3949, allocations: 0.996 MB / 385.1 MB, free: 22.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/0.4013, allocations: 2.7 MB / 387.8 MB, free: 21.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/0.4017, allocations: 310.6 kB / 388.1 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009086/0.4026, allocations: 401.8 kB / 388.5 MB, free: 21.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.4147, allocations: 5.213 MB / 393.7 MB, free: 21.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-05/0.4148, allocations: 1.375 kB / 393.7 MB, free: 21.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.4152, allocations: 164.3 kB / 393.8 MB, free: 21.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.4154, allocations: 174.2 kB / 394 MB, free: 21.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007565/0.4229, allocations: 4.45 MB / 398.5 MB, free: 19.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.4451, allocations: 16.83 MB / 415.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.451, allocations: 8.417 MB / 423.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002871/0.4539, allocations: 1.714 MB / 425.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009208/0.4631, allocations: 4.996 MB / 430.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.4632, allocations: 49.91 kB / 430.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 4.338e-06/0.4632, allocations: 0 / 430.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.01255/0.4758, allocations: 6.118 MB / 436.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4759, allocations: 72 kB / 436.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.4794, allocations: 2.313 MB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.4797, allocations: 53.7 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.4811, allocations: 1.845 MB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.4816, allocations: 0.5441 MB / 441.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005953/0.4822, allocations: 399.7 kB / 441.8 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4824, allocations: 301.1 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4838, allocations: 0.8436 MB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.4857, allocations: 1.562 MB / 444.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003595/0.4893, allocations: 2.561 MB / 447.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.4893, allocations: 4 kB / 447.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005399/0.4947, allocations: 2.889 MB / 449.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4948, allocations: 19.38 kB / 450 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/0.4948, allocations: 27.98 kB / 450 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.4952, allocations: 125.5 kB / 450.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.4971, allocations: 0.5412 MB / 450.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.4989, allocations: 1.993 MB / 452.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.5009, allocations: 111.8 kB / 452.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.5011, allocations: 104 kB / 452.9 MB, free: 408 kB / 350.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.002282/0.5033, allocations: 1.191 MB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005527/0.5039, allocations: 241.1 kB / 454.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/0.508, allocations: 2.446 MB / 456.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.5081, allocations: 19.98 kB / 456.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5081, allocations: 4 kB / 456.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5081, allocations: 7.969 kB / 456.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/0.5178, allocations: 5.803 MB / 462.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.5178, allocations: 4 kB / 462.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.5191, allocations: 281.6 kB / 462.8 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008784/0.52, allocations: 329.7 kB / 463.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.5202, allocations: 44.11 kB / 463.2 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006843/0.527, allocations: 7.016 MB / 470.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.527, allocations: 8.031 kB / 470.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/0.5327, allocations: 3.554 MB / 473.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.534, allocations: 0.5018 MB / 474.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/0.5343, allocations: 36 kB / 474.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5355, allocations: 79.92 kB / 474.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.5358, allocations: 124.1 kB / 474.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5359, allocations: 39.98 kB / 474.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002437/0.5384, allocations: 1.574 MB / 476.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5384, allocations: 0 / 476.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002658/0.541, allocations: 0.6796 MB / 476.8 MB, free: 7.887 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 (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.0003903/0.5415, allocations: 167.5 kB / 477 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006427/0.5479, allocations: 2.891 MB / 479.9 MB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.5479, allocations: 4.188 kB / 479.9 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.5504, allocations: 1.453 MB / 481.3 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.5535, allocations: 0.5922 MB / 481.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.5681, allocations: 8.633 MB / 490.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.5707, allocations: 2.667 MB / 493.2 MB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002141/0.5729, allocations: 0.5513 MB / 493.8 MB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.5734, allocations: 163.4 kB / 493.9 MB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.103e-06/0.5734, allocations: 0 / 493.9 MB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.05699/0.6304, allocations: 32.36 MB / 0.514 GB, free: 6.461 MB / 430.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)