Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 106.3 kB / 17.74 MB, free: 5.336 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.001021/0.001021, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009502/0.0009502, allocations: 47.92 kB / 352 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.208, allocations: 49.43 MB / 401.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01681/0.2249, allocations: 16.65 MB / 418.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008589/0.2335, allocations: 5.414 MB / 423.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.2354, allocations: 103.6 kB / 423.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.2383, allocations: 1.277 MB / 424.9 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.2421, allocations: 1.665 MB / 426.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2443, allocations: 1.041 MB / 427.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005466/0.2497, allocations: 5.125 MB / 432.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004426/0.2542, allocations: 4.303 MB / 437 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.2568, allocations: 2.188 MB / 439.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.2595, allocations: 2.607 MB / 441.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007186/0.2602, allocations: 0.6133 MB / 442.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.2617, allocations: 0.8317 MB / 443.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.2627, allocations: 1.43 MB / 444.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.2651, allocations: 2.637 MB / 447.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006748/0.2719, allocations: 8.089 MB / 455.4 MB, free: 2.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2719, allocations: 3.984 kB / 455.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2719, allocations: 0 / 455.4 MB, free: 2.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.312e-05/0.272, allocations: 0 / 455.4 MB, free: 2.754 MB / 366.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.0115/0.2835, allocations: 5.37 MB / 460.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2835, allocations: 8.031 kB / 460.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.2888, allocations: 0.9831 MB / 461.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.2941, allocations: 2.972 MB / 464.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.2943, allocations: 304.2 kB / 465 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.2948, allocations: 399.8 kB / 465.4 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008188/0.303, allocations: 5.213 MB / 470.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.295e-05/0.3031, allocations: 8 kB / 470.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.3035, allocations: 164 kB / 470.8 MB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.3036, allocations: 172 kB / 471 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007424/0.3111, allocations: 4.462 MB / 475.4 MB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/0.3353, allocations: 16.59 MB / 492 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.3427, allocations: 8.411 MB / 0.4887 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/0.3456, allocations: 1.702 MB / 0.4904 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008285/0.3539, allocations: 4.965 MB / 0.4952 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.354, allocations: 47.88 kB / 0.4953 GB, free: 13.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.339e-06/0.354, allocations: 0 / 0.4953 GB, free: 13.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01168/0.3657, allocations: 6.146 MB / 0.5013 GB, free: 6.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.3657, allocations: 64.72 kB / 0.5013 GB, free: 6.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.3692, allocations: 2.282 MB / 0.5036 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.3693, allocations: 49.7 kB / 0.5036 GB, free: 4.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3706, allocations: 1.848 MB / 0.5054 GB, free: 2.426 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.371, allocations: 0.5429 MB / 0.5059 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/0.3716, allocations: 395.7 kB / 0.5063 GB, free: 1.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.3716, allocations: 309.1 kB / 0.5066 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3731, allocations: 0.8475 MB / 0.5074 GB, free: 332 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.375, allocations: 1.555 MB / 0.509 GB, free: 14.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003479/0.3785, allocations: 2.558 MB / 0.5115 GB, free: 11.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.3785, allocations: 8 kB / 0.5115 GB, free: 11.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004758/0.3833, allocations: 2.88 MB / 0.5143 GB, free: 8.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3833, allocations: 19.94 kB / 0.5143 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.3834, allocations: 27.94 kB / 0.5143 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003203/0.3837, allocations: 125.7 kB / 0.5144 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.3858, allocations: 0.5346 MB / 0.515 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.3875, allocations: 1.993 MB / 0.5169 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.3892, allocations: 119.9 kB / 0.517 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.3894, allocations: 96 kB / 0.5171 GB, free: 5.594 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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.001868/0.3913, allocations: 1.2 MB / 0.5183 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.3918, allocations: 241.1 kB / 0.5185 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.3961, allocations: 2.44 MB / 0.5209 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.3961, allocations: 11.97 kB / 0.5209 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3961, allocations: 0 / 0.5209 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.3972, allocations: 498 kB / 0.5214 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/0.3976, allocations: 35.94 kB / 0.5214 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.3989, allocations: 83.92 kB / 0.5215 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.3992, allocations: 133.1 kB / 0.5216 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004885/0.404, allocations: 2.266 MB / 0.5238 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004666/0.4087, allocations: 3.018 MB / 0.5268 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00127/0.41, allocations: 0.8533 MB / 0.5276 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.4127, allocations: 1.549 MB / 0.5291 GB, free: 9.137 MB / 462.1 MB Notification: Performance of Backend: time 3.6e-07/0.4127, allocations: 0 / 0.5291 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.4167, allocations: 1.787 MB / 0.5309 GB, free: 7.328 MB / 462.1 MB Notification: Performance of SimCode: time 0.179/0.5957, allocations: 7.316 MB / 0.538 GB, free: 130.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05032/0.646, allocations: 38.08 MB / 0.5752 GB, free: 103.3 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1)