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.001351/0.001351, allocations: 109.2 kB / 16.51 MB, free: 6.707 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.001425/0.001425, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.347/1.347, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001142/0.001142, allocations: 51.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08704/0.08819, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01684/0.1051, allocations: 16.38 MB / 342.3 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1159, allocations: 5.391 MB / 347.7 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003382/0.1194, allocations: 83.69 kB / 347.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.1234, allocations: 1.081 MB / 348.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005086/0.1285, allocations: 1.442 MB / 350.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.1313, allocations: 0.9826 MB / 351.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006522/0.1379, allocations: 5.301 MB / 356.6 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.1417, allocations: 3.188 MB / 359.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/0.1446, allocations: 1.841 MB / 361.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.1484, allocations: 2.439 MB / 364.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008731/0.1493, allocations: 368 kB / 364.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.1512, allocations: 0.5896 MB / 365 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009947/0.1522, allocations: 1.148 MB / 366.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.1551, allocations: 2.36 MB / 368.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.1623, allocations: 7.812 MB / 376.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1624, allocations: 0 / 376.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1624, allocations: 0 / 376.4 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.1626, allocations: 0 / 376.4 MB, free: 2.211 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.1715/0.3341, allocations: 5.363 MB / 381.7 MB, free: 28.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3341, allocations: 10.92 kB / 381.7 MB, free: 28.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006032/0.3402, allocations: 0.9905 MB / 382.7 MB, free: 28.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007517/0.3477, allocations: 2.702 MB / 385.4 MB, free: 27.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/0.3481, allocations: 312.8 kB / 385.7 MB, free: 27.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.3496, allocations: 399 kB / 386.1 MB, free: 27.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.3616, allocations: 5.215 MB / 391.3 MB, free: 26.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.756e-05/0.3618, allocations: 10.56 kB / 391.3 MB, free: 26.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.3622, allocations: 160.5 kB / 391.5 MB, free: 26.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.3623, allocations: 174.1 kB / 391.7 MB, free: 26.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008605/0.3709, allocations: 4.441 MB / 396.1 MB, free: 24.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02756/0.3985, allocations: 16.84 MB / 412.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/0.4039, allocations: 8.414 MB / 421.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.4064, allocations: 1.713 MB / 423.1 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009199/0.4156, allocations: 4.994 MB / 428.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/0.4157, allocations: 55.88 kB / 428.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=156): time 3.847e-06/0.4157, allocations: 2.297 kB / 428.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.01244/0.4281, allocations: 6.113 MB / 434.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.4282, allocations: 68.72 kB / 434.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003682/0.4319, allocations: 2.313 MB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.4321, allocations: 53.7 kB / 436.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.4334, allocations: 1.854 MB / 438.5 MB, free: 356 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/0.4339, allocations: 0.541 MB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005568/0.4345, allocations: 395.6 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.4346, allocations: 301.1 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.436, allocations: 0.8397 MB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.438, allocations: 1.566 MB / 442.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003513/0.4415, allocations: 2.561 MB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.4415, allocations: 8 kB / 444.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.00527/0.4468, allocations: 2.886 MB / 447.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.4469, allocations: 27.47 kB / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/0.4469, allocations: 20 kB / 447.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.4473, allocations: 125.7 kB / 447.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.4494, allocations: 0.5416 MB / 448.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.4511, allocations: 1.823 MB / 450.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.4533, allocations: 111.8 kB / 450.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.4535, allocations: 102.4 kB / 450.3 MB, free: 3.996 MB / 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.002453/0.456, allocations: 1.194 MB / 451.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/0.4566, allocations: 241 kB / 451.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.4609, allocations: 2.449 MB / 454.2 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.461, allocations: 16 kB / 454.2 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.461, allocations: 8 kB / 454.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.461, allocations: 7.969 kB / 454.3 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/0.4708, allocations: 5.809 MB / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4709, allocations: 0 / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.4721, allocations: 285.4 kB / 460.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008951/0.4731, allocations: 326.5 kB / 460.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.4732, allocations: 39.98 kB / 460.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/0.4793, allocations: 6.383 MB / 467.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4794, allocations: 2.078 kB / 467.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00595/0.4853, allocations: 3.559 MB / 470.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/0.4869, allocations: 0.4979 MB / 471.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.4874, allocations: 32 kB / 471.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.4886, allocations: 88.05 kB / 471.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/0.4889, allocations: 120.2 kB / 471.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.489, allocations: 43.98 kB / 471.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002453/0.4915, allocations: 1.572 MB / 473 MB, free: 12.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4915, allocations: 4 kB / 473 MB, free: 12.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002946/0.4944, allocations: 0.6713 MB / 473.7 MB, free: 12.13 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.0004672/0.4949, allocations: 175.4 kB / 473.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.4988, allocations: 2.264 MB / 476.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4989, allocations: 0 / 476.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.5013, allocations: 1.448 MB / 477.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.5044, allocations: 0.5659 MB / 478.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.5191, allocations: 8.642 MB / 486.8 MB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/0.5217, allocations: 2.661 MB / 489.4 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002189/0.524, allocations: 0.5513 MB / 490 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.5245, allocations: 163.4 kB / 490.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5245, allocations: 4 kB / 490.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of Templates: time 0.05971/0.5842, allocations: 31.18 MB / 0.5091 GB, free: 12.52 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)