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.001336/0.001336, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001533/0.001532, allocations: 189.8 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001289/0.001289, allocations: 43.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 46.63 MB / 324.8 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01677/0.2789, allocations: 16.38 MB / 341.2 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.292, allocations: 5.357 MB / 346.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004961/0.297, allocations: 87.62 kB / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005473/0.3025, allocations: 1.081 MB / 347.8 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009687/0.3122, allocations: 1.43 MB / 349.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3165, allocations: 0.9748 MB / 350.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00887/0.3254, allocations: 5.118 MB / 355.3 MB, free: 5.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.3306, allocations: 3.838 MB / 359.1 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.3342, allocations: 2.169 MB / 361.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.3384, allocations: 2.611 MB / 363.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001506/0.3399, allocations: 0.6133 MB / 364.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3423, allocations: 0.8356 MB / 365.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.3436, allocations: 1.422 MB / 366.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003419/0.347, allocations: 2.633 MB / 369.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007479/0.3545, allocations: 7.992 MB / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.3545, allocations: 0 / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3546, allocations: 0 / 377.4 MB, free: 15.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002002/0.3548, allocations: 4 kB / 377.4 MB, free: 15.31 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.01495/0.3697, allocations: 5.378 MB / 382.8 MB, free: 9.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3698, allocations: 12.03 kB / 382.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/0.3753, allocations: 0.9909 MB / 383.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/0.3822, allocations: 2.695 MB / 386.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.3825, allocations: 312.2 kB / 386.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.3836, allocations: 403.9 kB / 387.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3941, allocations: 5.205 MB / 392.4 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-05/0.3943, allocations: 4 kB / 392.4 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.3947, allocations: 168.1 kB / 392.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.3949, allocations: 172 kB / 392.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007773/0.4026, allocations: 4.443 MB / 397.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02647/0.4291, allocations: 16.83 MB / 414 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007877/0.4371, allocations: 8.434 MB / 422.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.4401, allocations: 1.714 MB / 424.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009363/0.4495, allocations: 4.993 MB / 429.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.4496, allocations: 51.81 kB / 429.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=156): time 3.186e-06/0.4496, allocations: 0 / 429.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=159): time 0.01405/0.4637, allocations: 6.119 MB / 435.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4638, allocations: 72.7 kB / 435.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/0.468, allocations: 2.31 MB / 437.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.4684, allocations: 53.7 kB / 437.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.47, allocations: 1.837 MB / 439.6 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.4706, allocations: 0.5546 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007207/0.4714, allocations: 395.6 kB / 440.5 MB, free: 14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4715, allocations: 305.1 kB / 440.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.4732, allocations: 0.8474 MB / 441.6 MB, free: 12.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4751, allocations: 1.56 MB / 443.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/0.4785, allocations: 2.559 MB / 445.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.4785, allocations: 15.94 kB / 445.8 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004696/0.4832, allocations: 2.884 MB / 448.7 MB, free: 5.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.4832, allocations: 12 kB / 448.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.4833, allocations: 24 kB / 448.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.4836, allocations: 125.7 kB / 448.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.4856, allocations: 0.5462 MB / 449.4 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.4873, allocations: 1.993 MB / 451.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.4892, allocations: 107.8 kB / 451.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.4894, allocations: 99.98 kB / 451.6 MB, free: 2.094 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 (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.002134/0.4915, allocations: 1.192 MB / 452.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.4921, allocations: 249 kB / 453 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1819/0.674, allocations: 2.435 MB / 455.4 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.674, allocations: 15.22 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.6741, allocations: 5.625 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.6741, allocations: 11.06 kB / 455.5 MB, free: 109.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009735/0.6838, allocations: 5.808 MB / 461.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6839, allocations: 3.969 kB / 461.3 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.685, allocations: 289.9 kB / 461.6 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007689/0.6858, allocations: 329.4 kB / 461.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/0.6859, allocations: 39.55 kB / 461.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.6909, allocations: 6.997 MB / 468.9 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.691, allocations: 8.844 kB / 468.9 MB, free: 100.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00492/0.6959, allocations: 3.559 MB / 472.5 MB, free: 98.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.697, allocations: 0.4958 MB / 473 MB, free: 98.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.6973, allocations: 35.72 kB / 473 MB, free: 98.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6984, allocations: 79.19 kB / 473.1 MB, free: 98.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.6988, allocations: 123 kB / 473.2 MB, free: 98.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.6989, allocations: 48.89 kB / 473.3 MB, free: 98.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.7013, allocations: 1.573 MB / 474.8 MB, free: 97.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7013, allocations: 0 / 474.8 MB, free: 97.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002251/0.7036, allocations: 0.6713 MB / 475.5 MB, free: 97.81 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.0003292/0.7039, allocations: 168.2 kB / 475.7 MB, free: 97.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005175/0.7091, allocations: 2.896 MB / 478.6 MB, free: 95.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7091, allocations: 3 kB / 478.6 MB, free: 95.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.7109, allocations: 1.439 MB / 480 MB, free: 93.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.7135, allocations: 0.6003 MB / 480.6 MB, free: 93.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7243, allocations: 8.646 MB / 489.3 MB, free: 84.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.726, allocations: 2.657 MB / 491.9 MB, free: 82.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002046/0.7281, allocations: 0.5513 MB / 492.5 MB, free: 81.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.7285, allocations: 171.4 kB / 492.6 MB, free: 81.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7285, allocations: 0 / 492.6 MB, free: 81.32 MB / 382.1 MB Notification: Performance of Templates: time 0.05152/0.7801, allocations: 32.37 MB / 0.5127 GB, free: 48.93 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)