Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.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.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002156/0.002156, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.833/1.833, allocations: 205.1 MB / 222 MB, free: 4.73 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.001341/0.001341, allocations: 47.94 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4573, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01441/0.4717, allocations: 11.65 MB / 336.3 MB, free: 8.465 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.4824, allocations: 3.934 MB / 340.3 MB, free: 4.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004118/0.4866, allocations: 51.75 kB / 340.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.4899, allocations: 0.75 MB / 341.1 MB, free: 3.715 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.4949, allocations: 0.8897 MB / 342 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.4968, allocations: 483.4 kB / 342.4 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006216/0.5031, allocations: 3.865 MB / 346.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.5065, allocations: 2.24 MB / 348.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.5093, allocations: 1.327 MB / 349.9 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.5131, allocations: 1.86 MB / 351.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.5143, allocations: 248 kB / 352 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.5162, allocations: 0.5034 MB / 352.5 MB, free: 8.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.5175, allocations: 0.9734 MB / 353.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002822/0.5204, allocations: 1.671 MB / 355.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009251/0.5296, allocations: 5.183 MB / 360.3 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.5297, allocations: 4 kB / 360.3 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.327e-06/0.5298, allocations: 3.938 kB / 360.3 MB, free: 368 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.53, allocations: 0 / 360.3 MB, free: 368 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01391/0.544, allocations: 3.703 MB / 364 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.176e-05/0.5441, allocations: 8.031 kB / 364 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.5459, allocations: 436.7 kB / 364.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/0.5507, allocations: 1.837 MB / 366.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/0.5509, allocations: 209.3 kB / 366.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.5514, allocations: 263.9 kB / 366.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007536/0.559, allocations: 3.525 MB / 370.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.198e-05/0.5591, allocations: 15.83 kB / 370.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.5593, allocations: 108 kB / 370.4 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.5595, allocations: 121.2 kB / 370.5 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00639/0.5659, allocations: 2.964 MB / 373.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.594, allocations: 11.1 MB / 384.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.5979, allocations: 2.28 MB / 386.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/0.6006, allocations: 1.18 MB / 388 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.6012, allocations: 219.5 kB / 388.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.53e-05/0.6013, allocations: 43.88 kB / 388.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=131): time 8.416e-06/0.6013, allocations: 0 / 388.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.02056/0.6219, allocations: 7.486 MB / 395.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/0.622, allocations: 80.66 kB / 395.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.627, allocations: 1.975 MB / 397.8 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.6274, allocations: 49.7 kB / 397.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.6286, allocations: 1.308 MB / 399.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/0.6294, allocations: 0.5045 MB / 399.7 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007724/0.6302, allocations: 327.3 kB / 400 MB, free: 7.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6304, allocations: 301.1 kB / 400.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.6323, allocations: 0.8901 MB / 401.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.6344, allocations: 1.368 MB / 402.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/0.6384, allocations: 2.374 MB / 404.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/0.6385, allocations: 4 kB / 404.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006894/0.6454, allocations: 2.982 MB / 407.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/0.6455, allocations: 12 kB / 407.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/0.6456, allocations: 16 kB / 407.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.6471, allocations: 466.5 kB / 408.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.6489, allocations: 427.3 kB / 408.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.6566, allocations: 5.594 MB / 414.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.6597, allocations: 123.7 kB / 414.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006081/0.6603, allocations: 75.98 kB / 414.6 MB, free: 8.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0035/0.6639, allocations: 0.8563 MB / 415.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.665, allocations: 213.5 kB / 415.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006417/0.6714, allocations: 2.587 MB / 418.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/0.6715, allocations: 19.98 kB / 418.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.6715, allocations: 4 kB / 418.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.6716, allocations: 3.984 kB / 418.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.6862, allocations: 5.642 MB / 423.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/0.6863, allocations: 4 kB / 423.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6876, allocations: 288 kB / 424.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.6893, allocations: 494 kB / 424.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.6895, allocations: 47.91 kB / 424.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009895/0.6994, allocations: 7.042 MB / 431.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.6995, allocations: 7.938 kB / 431.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/0.7082, allocations: 3.838 MB / 435.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/0.71, allocations: 482.3 kB / 436.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009042/0.711, allocations: 35.98 kB / 436.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.713, allocations: 99.8 kB / 436.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004469/0.7134, allocations: 129.2 kB / 436.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.7136, allocations: 48.06 kB / 436.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003918/0.7175, allocations: 1.356 MB / 437.8 MB, free: 396 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7176, allocations: 0 / 437.8 MB, free: 396 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.003971/0.7215, allocations: 0.5821 MB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.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 (126): * Single equations (assignments): 121 * Array equations: 2 * 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 {(3,16,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008086/0.7224, allocations: 227.5 kB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005442/0.7278, allocations: 2.596 MB / 441.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.7279, allocations: 4 kB / 441.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003685/0.7316, allocations: 1.609 MB / 442.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/0.7366, allocations: 474.6 kB / 443.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.756, allocations: 6.846 MB / 450.1 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004696/0.7608, allocations: 2.136 MB / 452.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003276/0.7642, allocations: 473 kB / 452.7 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.7653, allocations: 131.4 kB / 452.8 MB, free: 1.137 MB / 382.1 MB Notification: Performance of SimCode: time 2.956e-06/0.7653, allocations: 4 kB / 452.8 MB, free: 1.133 MB / 382.1 MB Notification: Performance of Templates: time 0.3464/1.112, allocations: 29.66 MB / 482.5 MB, free: 91.33 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)