Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, 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.001451/0.001451, allocations: 193.1 kB / 16.13 MB, free: 6.715 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.579/1.579, allocations: 205.1 MB / 222 MB, free: 4.77 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.001303/0.001303, allocations: 47.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2675, allocations: 46.63 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01331/0.2808, allocations: 10.79 MB / 335.5 MB, free: 9.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.2909, allocations: 3.644 MB / 339.1 MB, free: 5.68 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003578/0.2945, allocations: 51.75 kB / 339.2 MB, free: 5.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00318/0.2978, allocations: 0.7069 MB / 339.9 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.302, allocations: 0.7771 MB / 340.7 MB, free: 4.137 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3036, allocations: 415.5 kB / 341.1 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.3082, allocations: 3.282 MB / 344.3 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.3107, allocations: 2.255 MB / 346.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.3125, allocations: 1.202 MB / 347.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.3148, allocations: 1.681 MB / 349.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004171/0.3153, allocations: 236 kB / 349.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.316, allocations: 351.7 kB / 350.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008618/0.3169, allocations: 0.919 MB / 351 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.3184, allocations: 1.524 MB / 352.5 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.3221, allocations: 4.708 MB / 357.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3221, allocations: 0 / 357.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.3221, allocations: 4 kB / 357.2 MB, free: 3.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.357e-05/0.3222, allocations: 0 / 357.2 MB, free: 3.473 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.005918/0.3281, allocations: 3.386 MB / 360.6 MB, free: 20 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3282, allocations: 12.03 kB / 360.6 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007993/0.329, allocations: 341.2 kB / 360.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.3318, allocations: 1.69 MB / 362.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.332, allocations: 197.3 kB / 362.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.3324, allocations: 244 kB / 363.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005579/0.338, allocations: 3.283 MB / 366.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.98e-05/0.3381, allocations: 7.906 kB / 366.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/0.3383, allocations: 104 kB / 366.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.3384, allocations: 120.9 kB / 366.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004567/0.343, allocations: 2.744 MB / 369.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.358, allocations: 10.53 MB / 379.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3598, allocations: 1.353 MB / 381.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3609, allocations: 0.7813 MB / 382 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.3612, allocations: 204.2 kB / 382.2 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3613, allocations: 43.56 kB / 382.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/0.3613, allocations: 0 / 382.2 MB, free: 9.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01489/0.3762, allocations: 7.026 MB / 389.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3763, allocations: 64.41 kB / 389.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.3786, allocations: 1.789 MB / 391.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.3787, allocations: 45.7 kB / 391.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000918/0.3796, allocations: 1.283 MB / 392.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.38, allocations: 417.9 kB / 392.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.3804, allocations: 299.2 kB / 393.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3805, allocations: 309.1 kB / 393.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.3817, allocations: 0.773 MB / 394.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.3833, allocations: 1.293 MB / 395.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.3861, allocations: 2.218 MB / 397.7 MB, free: 9.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3861, allocations: 4 kB / 397.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003985/0.3901, allocations: 2.474 MB / 400.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.3901, allocations: 12 kB / 400.2 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.3901, allocations: 16 kB / 400.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/0.3908, allocations: 243.5 kB / 400.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3922, allocations: 419.3 kB / 400.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3947, allocations: 3.005 MB / 403.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.396, allocations: 127.8 kB / 404 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3962, allocations: 68 kB / 404.1 MB, free: 2.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.3976, allocations: 0.8213 MB / 404.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.3979, allocations: 185.7 kB / 405.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.4011, allocations: 2.039 MB / 407.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4012, allocations: 15.94 kB / 407.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4012, allocations: 0 / 407.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4012, allocations: 8.109 kB / 407.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.4086, allocations: 4.748 MB / 411.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4086, allocations: 4 kB / 411.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.4097, allocations: 259.6 kB / 412.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.4102, allocations: 203.5 kB / 412.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/0.4103, allocations: 31.98 kB / 412.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.4127, allocations: 2.978 MB / 415.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4128, allocations: 4.031 kB / 415.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.4172, allocations: 3.129 MB / 418.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.418, allocations: 430.5 kB / 418.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.4182, allocations: 24 kB / 418.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.4191, allocations: 95.86 kB / 419 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4193, allocations: 80.89 kB / 419.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.4194, allocations: 32 kB / 419.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001733/0.4211, allocations: 1.22 MB / 420.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4211, allocations: 0 / 420.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001438/0.4226, allocations: 496 kB / 420.8 MB, free: 1.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,1,100.0%), (1,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.0003876/0.423, allocations: 202.9 kB / 421 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.4264, allocations: 2.333 MB / 423.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4264, allocations: 1.812 kB / 423.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.4281, allocations: 1.335 MB / 424.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.4301, allocations: 469.7 kB / 425.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/0.4381, allocations: 6.02 MB / 431.2 MB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.4398, allocations: 2.014 MB / 433.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001392/0.4412, allocations: 499.9 kB / 433.7 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.4416, allocations: 139.4 kB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4416, allocations: 0 / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of Templates: time 0.2044/0.646, allocations: 24.77 MB / 458.6 MB, free: 111.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1)