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.009244/0.009244, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001724/0.001724, allocations: 192 kB / 16.67 MB, free: 5.973 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.001247/0.001247, allocations: 53.95 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1313, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL): time 0.01527/0.1466, allocations: 11.74 MB / 384.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.1575, allocations: 3.975 MB / 388.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003722/0.1612, allocations: 55.75 kB / 389 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.1647, allocations: 0.8618 MB / 389.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.169, allocations: 0.9862 MB / 390.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.171, allocations: 0.5227 MB / 391.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005578/0.1766, allocations: 3.44 MB / 394.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/0.1811, allocations: 2.673 MB / 397.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.1849, allocations: 1.534 MB / 399 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004471/0.1894, allocations: 1.938 MB / 400.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.1908, allocations: 408 kB / 401.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.1937, allocations: 0.644 MB / 402 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.1959, allocations: 1.145 MB / 403.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005936/0.2019, allocations: 1.843 MB / 405 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.2125, allocations: 5.379 MB / 410.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.2125, allocations: 0 / 410.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2125, allocations: 4 kB / 410.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000296/0.2128, allocations: 4 kB / 410.3 MB, free: 11.95 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.0134/0.2263, allocations: 3.801 MB / 414.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.2263, allocations: 11.89 kB / 414.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002384/0.2287, allocations: 454.6 kB / 414.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.2334, allocations: 1.861 MB / 416.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.2337, allocations: 205.4 kB / 416.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009185/0.2346, allocations: 271.9 kB / 416.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009342/0.2439, allocations: 3.509 MB / 420.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.2441, allocations: 8 kB / 420.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006653/0.2448, allocations: 112 kB / 420.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.245, allocations: 121.2 kB / 420.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0071/0.2521, allocations: 2.972 MB / 423.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.2752, allocations: 11 MB / 434.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.2787, allocations: 2.288 MB / 436.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.2811, allocations: 1.187 MB / 438.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.2816, allocations: 203.5 kB / 438.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.487e-05/0.2816, allocations: 47.88 kB / 438.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 6.141e-06/0.2817, allocations: 0 / 438.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01916/0.3008, allocations: 7.53 MB / 445.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3009, allocations: 68.72 kB / 446 MB, free: 7.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005556/0.3065, allocations: 1.975 MB / 447.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001951/0.3067, allocations: 57.64 kB / 448 MB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.3084, allocations: 1.346 MB / 449.3 MB, free: 3.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.3091, allocations: 0.5307 MB / 449.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009143/0.31, allocations: 327.4 kB / 450.2 MB, free: 3.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3102, allocations: 305.1 kB / 450.5 MB, free: 2.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.312, allocations: 0.8822 MB / 451.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.3142, allocations: 1.372 MB / 452.7 MB, free: 360 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4241/0.7383, allocations: 2.378 MB / 455.1 MB, free: 67.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-05/0.7384, allocations: 5.406 kB / 455.1 MB, free: 67.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008961/0.7474, allocations: 2.994 MB / 458.1 MB, free: 66.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.7475, allocations: 12.25 kB / 458.1 MB, free: 66.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.863e-05/0.7476, allocations: 14.84 kB / 458.1 MB, free: 66.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00172/0.7493, allocations: 455.2 kB / 458.6 MB, free: 66.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.7515, allocations: 425.7 kB / 459 MB, free: 66.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.762, allocations: 6.113 MB / 465.1 MB, free: 62.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/0.7653, allocations: 126.4 kB / 465.2 MB, free: 62.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.7656, allocations: 81.36 kB / 465.3 MB, free: 62.26 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.003167/0.7688, allocations: 0.851 MB / 466.2 MB, free: 61.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.77, allocations: 219.2 kB / 466.4 MB, free: 61.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/0.7758, allocations: 2.587 MB / 469 MB, free: 60.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/0.7759, allocations: 15.94 kB / 469 MB, free: 60.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.7759, allocations: 4.188 kB / 469 MB, free: 60.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.7759, allocations: 8.766 kB / 469 MB, free: 60.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/0.7909, allocations: 5.619 MB / 474.6 MB, free: 58.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.603e-05/0.791, allocations: 3.969 kB / 474.6 MB, free: 58.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.7924, allocations: 280 kB / 474.9 MB, free: 58.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.7942, allocations: 0.4907 MB / 475.4 MB, free: 57.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.7945, allocations: 44.36 kB / 475.4 MB, free: 57.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009429/0.8039, allocations: 7.67 MB / 483.1 MB, free: 51.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.804, allocations: 11.42 kB / 483.1 MB, free: 51.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007687/0.8117, allocations: 3.863 MB / 487 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/0.8135, allocations: 483.5 kB / 487.4 MB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008614/0.8144, allocations: 43.92 kB / 487.5 MB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.8163, allocations: 103.9 kB / 487.6 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004093/0.8167, allocations: 117 kB / 487.7 MB, free: 47.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.8169, allocations: 52.86 kB / 487.8 MB, free: 47.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003264/0.8202, allocations: 1.356 MB / 489.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8202, allocations: 0 / 489.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004132/0.8244, allocations: 0.5881 MB / 489.7 MB, free: 45.69 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.000904/0.8253, allocations: 226.6 kB / 489.9 MB, free: 45.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005629/0.8309, allocations: 2.601 MB / 492.5 MB, free: 42.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.831, allocations: 4.125 kB / 492.5 MB, free: 42.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.834, allocations: 1.619 MB / 494.1 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/0.839, allocations: 495.4 kB / 494.6 MB, free: 40.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.8541, allocations: 5.714 MB / 0.4886 GB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/0.8582, allocations: 2.132 MB / 0.4907 GB, free: 32.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002461/0.8607, allocations: 469 kB / 0.4911 GB, free: 32.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000957/0.8617, allocations: 143.4 kB / 0.4913 GB, free: 32.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.974e-06/0.8617, allocations: 0 / 0.4913 GB, free: 32.19 MB / 382.1 MB Notification: Performance of Templates: time 0.069/0.9307, allocations: 31.48 MB / 0.522 GB, free: 0.6836 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)