Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006849/0.006849, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001978/0.001978, allocations: 181.7 kB / 16.67 MB, free: 5.938 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.754/1.754, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001288/0.001289, allocations: 45.75 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1499, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01497/0.1649, allocations: 11.74 MB / 384.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009909/0.1749, allocations: 3.979 MB / 388.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.1779, allocations: 63.75 kB / 389 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.1809, allocations: 0.8735 MB / 389.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.1854, allocations: 1.033 MB / 390.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.1872, allocations: 0.5266 MB / 391.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005735/0.193, allocations: 3.448 MB / 394.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.1962, allocations: 2.669 MB / 397.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.199, allocations: 1.53 MB / 399.1 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/0.2028, allocations: 1.946 MB / 401 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006884/0.2035, allocations: 412 kB / 401.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.205, allocations: 0.6402 MB / 402 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.2062, allocations: 1.153 MB / 403.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.2088, allocations: 1.835 MB / 405 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007252/0.2161, allocations: 5.383 MB / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2161, allocations: 4 kB / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2162, allocations: 0 / 410.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.2164, allocations: 0 / 410.4 MB, free: 11.87 MB / 350.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.009626/0.226, allocations: 3.797 MB / 414.2 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.2261, allocations: 11.89 kB / 414.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.2276, allocations: 454.6 kB / 414.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.2313, allocations: 1.865 MB / 416.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.2315, allocations: 201.4 kB / 416.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004094/0.232, allocations: 271.9 kB / 417 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/0.2382, allocations: 3.517 MB / 420.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/0.2383, allocations: 4 kB / 420.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.2385, allocations: 116 kB / 420.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.2387, allocations: 121.2 kB / 420.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0053/0.244, allocations: 2.964 MB / 423.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/0.2637, allocations: 11 MB / 434.7 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.2668, allocations: 2.288 MB / 437 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.269, allocations: 1.184 MB / 438.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.2693, allocations: 207.5 kB / 438.4 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.2694, allocations: 51.81 kB / 438.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.428e-06/0.2694, allocations: 0 / 438.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01738/0.2868, allocations: 7.53 MB / 446 MB, free: 7.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2869, allocations: 68.72 kB / 446 MB, free: 7.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.2903, allocations: 1.979 MB / 448 MB, free: 5.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2905, allocations: 49.7 kB / 448.1 MB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.2916, allocations: 1.343 MB / 449.4 MB, free: 3.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005105/0.2921, allocations: 0.5307 MB / 449.9 MB, free: 3.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.2926, allocations: 327.4 kB / 450.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2927, allocations: 305.1 kB / 450.6 MB, free: 2.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.2942, allocations: 0.8823 MB / 451.4 MB, free: 1.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.2961, allocations: 1.376 MB / 452.8 MB, free: 276 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3882/0.6843, allocations: 2.38 MB / 455.2 MB, free: 67.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.6844, allocations: 6.344 kB / 455.2 MB, free: 67.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006872/0.6912, allocations: 2.98 MB / 458.2 MB, free: 66.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.6913, allocations: 11.88 kB / 458.2 MB, free: 66.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.31e-05/0.6914, allocations: 17.69 kB / 458.2 MB, free: 66.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.6929, allocations: 466.3 kB / 458.7 MB, free: 66.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.6948, allocations: 429.7 kB / 459.1 MB, free: 66.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009291/0.7041, allocations: 6.112 MB / 465.2 MB, free: 62.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.7068, allocations: 124.5 kB / 465.3 MB, free: 62.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.707, allocations: 73.84 kB / 465.4 MB, free: 62.28 MB / 382.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.002371/0.7094, allocations: 0.8559 MB / 466.2 MB, free: 61.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006213/0.71, allocations: 220.9 kB / 466.5 MB, free: 61.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005196/0.7152, allocations: 2.583 MB / 469 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.7153, allocations: 15.78 kB / 469.1 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.7153, allocations: 7.344 kB / 469.1 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.7153, allocations: 8.906 kB / 469.1 MB, free: 60.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.7256, allocations: 5.621 MB / 474.7 MB, free: 58.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.7256, allocations: 1.469 kB / 474.7 MB, free: 58.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.7267, allocations: 279.5 kB / 475 MB, free: 58.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.728, allocations: 0.4928 MB / 475.5 MB, free: 57.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.7281, allocations: 39.58 kB / 475.5 MB, free: 57.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007108/0.7352, allocations: 7.676 MB / 483.2 MB, free: 51.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.7352, allocations: 11.41 kB / 483.2 MB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/0.7411, allocations: 3.852 MB / 487 MB, free: 48.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.7425, allocations: 496.4 kB / 487.5 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7428, allocations: 39.92 kB / 487.6 MB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.744, allocations: 100.8 kB / 487.7 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000356/0.7443, allocations: 125 kB / 487.8 MB, free: 47.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.7444, allocations: 40 kB / 487.8 MB, free: 47.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.7464, allocations: 1.359 MB / 489.2 MB, free: 46.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7464, allocations: 0 / 489.2 MB, free: 46.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002477/0.7489, allocations: 0.5871 MB / 489.8 MB, free: 45.57 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.0004937/0.7494, allocations: 226.6 kB / 490 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.7535, allocations: 2.612 MB / 492.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.7535, allocations: 4 kB / 492.6 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.756, allocations: 1.616 MB / 494.2 MB, free: 41.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.7584, allocations: 498.5 kB / 494.7 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.7685, allocations: 5.697 MB / 0.4887 GB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/0.7703, allocations: 2.14 MB / 0.4908 GB, free: 32.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001644/0.772, allocations: 469 kB / 0.4912 GB, free: 32.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.7725, allocations: 131.4 kB / 0.4913 GB, free: 32.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.204e-06/0.7725, allocations: 0 / 0.4913 GB, free: 32.09 MB / 382.1 MB Notification: Performance of Templates: time 0.05201/0.8245, allocations: 31.49 MB / 0.5221 GB, free: 0.5625 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL.pipe 2>&1)